Just another Perl shrine | |
PerlMonks |
Re: Re: Re: where do you put your subsby demerphq (Chancellor) |
on Mar 08, 2002 at 13:10 UTC ( [id://150302]=note: print w/replies, xml ) | Need Help?? |
See now I would write
But when you do your main as a sub its different to doing your main as code as it ivolves a lexical scope. But this is good practice, in fact tye somewhere has a node covering a similer but more involved version of the same thing.
Yves / DeMerphq
In Section
Seekers of Perl Wisdom
|
|