GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   programers: do you use "use Strict" in your perl codes? (https://gfy.com/showthread.php?t=646451)

Zester 08-20-2006 05:59 AM

programmers: 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" ?

CodeMonkey1385 08-20-2006 06:19 AM

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

Dvae 08-20-2006 06:39 AM

Quote:

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.

Broda 08-20-2006 07:19 AM

Yeah usually, depending on what I'm working on.

fuzebox 08-20-2006 07:49 AM

Quote:

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.

u-Bob 08-20-2006 07:54 AM

I don't... :)

Broda 08-20-2006 08:30 AM

Quote:

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.

fris 08-20-2006 09:12 AM

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.

s9ann0 08-20-2006 09:29 AM

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!

fuzebox 08-20-2006 09:32 AM

Quote:

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!

Broda 08-20-2006 10:18 AM

Quote:

Originally Posted by fuzebox
Bugs?! I haven't had a bug since 1987, I just write once and it always works!

Good for you :thumbsup

teksonline 08-20-2006 11:27 AM

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;

boldy 08-20-2006 12:41 PM

Allways :)

WiredGuy 08-20-2006 12:58 PM

Yes, it forces you to keep your code cleaner.
WG

AlienQ - BANNED FOR LIFE 08-20-2006 01:11 PM

PERL is dead:)

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

boldy 08-20-2006 01:33 PM

Quote:

Originally Posted by AlienQ
PERL is dead:)

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


:1orglaugh :1orglaugh :1orglaugh

Rui 08-20-2006 01:35 PM

Quote:

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 :winkwink:


All times are GMT -7. The time now is 11:07 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123