|We don't bite newbies here... much|
Strict, my and warningsby true (Pilgrim)
|on Oct 15, 2002 at 21:53 UTC||Need Help??|
2 follow-up question if you're up for it:
1.) i turned on strict and was amazed at
all the crap i was doing wrong!
I also tried to incude the library 'warnings'
which failed (my perl is 5.005), is the
shebang -w switch a suitable substitute
for use warnings lib?
2.) Do you see anything fundamentally flawed with my
use of 'my' instead of local? The strict and -w switch
stopped outputing bad news to my error logs, so am i
okay now? Or is there something else i don't know about
to keep me on the right path to using perl correctly.
When i say correct use of perl i mean a clean running
program which could open and close millions of times
with no overflow problems.