![]() |
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" ? |
As much as i even hate to use perl, yes when i have to write perl, i use 'use strict'
|
Quote:
|
Yeah usually, depending on what I'm working on.
|
Quote:
|
I don't... :)
|
Quote:
|
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. |
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! |
Quote:
|
Quote:
|
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; |
Allways :)
|
Yes, it forces you to keep your code cleaner.
WG |
PERL is dead:)
It's an antiquated bubble gum solution that takes up to much server resources. |
Quote:
:1orglaugh :1orglaugh :1orglaugh |
Quote:
|
| 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