in reply to using 'my'
You don't have to 'use strict' but it certainly helps you catch those hard to see errors.
I often use strict and declare my variables global.
#!/usr/bin/perl -w use strict; my($dummy1,$dummy2,$dummy3); ...Kind of lazy, but I can use the variables everywhere in the script and I still catch the errors. Heffa K
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: using 'my'
by Hero Zzyzzx (Curate) on Jun 21, 2001 at 20:35 UTC | |
by tilly (Archbishop) on Jun 21, 2001 at 21:47 UTC | |
by TGI (Parson) on Jun 21, 2001 at 21:27 UTC |
In Section
Seekers of Perl Wisdom