Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Perl Software Pet Peeve: not using warn and strict (Score 3, Informative) 748

I just started a job recently where the previous developer of software that I'm modifying did NOT use warn or strict!!! How the hell do people justify that? I just don't get it... Not only do these tools speed debugging, they make your programs less succeptible to bugs.

If anyone reading this does NOT use warn (invoked by putting a '-w' after your perl interpreter call, ie: #!/usr/bin/perl -w ), or strict (invoked by putting this after your perl interpreter call or package definition:

use strict;

then please do!

You'll have to make sure your variables are scoped correctly (ie: my $scaler = 'whatever';), which may seem like a bitch but is HELPFUL!

hehe, ok, enough of this. Hope you all are having a fun day.

-japh

p.s. I don't have a tv either, I recommend this if you don't like being brainwashed/desensitized, ;-p

Slashdot Top Deals

You are in a maze of UUCP connections, all alike.

Working...