programers: do you use "use Strict" in your perl codes?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zester
    Confirmed User
    • Jul 2003
    • 5344

    #1

    programers: do you use "use Strict" in your perl codes?

    I was talking to my system admin and he said perl programmers are divided by those who use "Strict" and others that he doesn't even want to mention.

    do you use "use strict" ?
    Last edited by Zester; 08-20-2006, 05:01 AM.
    * Mainstream ? $65 per sale
    * new male contraception
  • CodeMonkey1385
    Registered User
    • Aug 2006
    • 19

    #2
    As much as i even hate to use perl, yes when i have to write perl, i use 'use strict'

    Comment

    • Dvae
      Confirmed User
      • Feb 2005
      • 5326

      #3
      Originally posted by Zester
      I was talking to my system admin and he said perl programmers are divided by those who use "Strict" and others that he doesn't even want to mention.

      do you use "use strict" ?
      I probably should but I don't, but then most of what I use Perl for is on my local network.
      .
      .

      Arguing with a troll is a lot like wrestling in the mud with a pig, after a couple of hours you realize the pig likes it.

      Comment

      • Broda
        Confirmed User
        • Feb 2003
        • 1874

        #4
        Yeah usually, depending on what I'm working on.
        CheapAssDesigns.com - when you need quality designs at affordable prices.
        icq: 230-729-205
        info |at| cheap ass designs dot com

        Comment

        • fuzebox
          making it rain
          • Oct 2003
          • 22369

          #5
          Originally posted by Dvae
          I probably should but I don't, but then most of what I use Perl for is on my local network.
          Same here... I write perl scripts on a daily basis but just for my own stuff... Strict just fucks me up and slows me down.

          Comment

          • u-Bob
            there's no $$$ in porn
            • Jul 2005
            • 33063

            #6
            I don't...

            Comment

            • Broda
              Confirmed User
              • Feb 2003
              • 1874

              #7
              Originally posted by fuzebox
              Same here... I write perl scripts on a daily basis but just for my own stuff... Strict just fucks me up and slows me down.
              I felt the same way until I realized how many hours of bug finding it would save me. Now I always use it unless it's for a 10-liner or something.
              CheapAssDesigns.com - when you need quality designs at affordable prices.
              icq: 230-729-205
              info |at| cheap ass designs dot com

              Comment

              • fris
                I have to go potty
                • Aug 2002
                • 55826

                #8
                use Net::DNS;
                use IO::Select;
                use strict;

                my ($res,$sel,$packet,$name,$addr,@out,$timeout,@read y,$sock,$count,@queries);
                my (@ip,$mask,$binary,$startmask,@start,$endmask,@end ,$done,$end);

                most of the time.
                Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


                My Newest Theme

                Comment

                • s9ann0
                  Confirmed User
                  • Sep 2001
                  • 4873

                  #9
                  I love perl and part of the reason I love perl is if I wanna do something fast and dirty I hack up a script in like 10minutes, use strict just gives you a heap of errors that don't matter!

                  anal retentive people use Strict;



                  be serious!

                  Comment

                  • fuzebox
                    making it rain
                    • Oct 2003
                    • 22369

                    #10
                    Originally posted by Broda
                    I felt the same way until I realized how many hours of bug finding it would save me. Now I always use it unless it's for a 10-liner or something.
                    Bugs?! I haven't had a bug since 1987, I just write once and it always works!

                    Comment

                    • Broda
                      Confirmed User
                      • Feb 2003
                      • 1874

                      #11
                      Originally posted by fuzebox
                      Bugs?! I haven't had a bug since 1987, I just write once and it always works!
                      Good for you
                      CheapAssDesigns.com - when you need quality designs at affordable prices.
                      icq: 230-729-205
                      info |at| cheap ass designs dot com

                      Comment

                      • teksonline
                        So Fucking Banned
                        • Jan 2005
                        • 2904

                        #12
                        Only aftere code is complete, I go back over it and optimize... always use strict, but to improve time and bug hunting, its good to wait..

                        my $thougts;

                        Comment

                        • boldy
                          Macdaddy coder
                          • Feb 2002
                          • 2806

                          #13
                          Allways
                          MacDaddy Coder.

                          Comment

                          • WiredGuy
                            Pounding Googlebot
                            • Aug 2002
                            • 34517

                            #14
                            Yes, it forces you to keep your code cleaner.
                            WG
                            I play with Google.

                            Comment

                            • AlienQ - BANNED FOR LIFE
                              best designer on GFY
                              • Mar 2003
                              • 30307

                              #15
                              PERL is dead

                              It's an antiquated bubble gum solution that takes up to much server resources.

                              Comment

                              • boldy
                                Macdaddy coder
                                • Feb 2002
                                • 2806

                                #16
                                Originally posted by AlienQ
                                PERL is dead

                                It's an antiquated bubble gum solution that takes up to much server resources.

                                MacDaddy Coder.

                                Comment

                                • Rui
                                  web
                                  • Dec 2001
                                  • 9533

                                  #17
                                  Originally posted by fuzebox
                                  Bugs?! I haven't had a bug since 1987, I just write once and it always works!
                                  You must be special then

                                  Comment

                                  Working...