Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Frontpage staleness detector

by allolex (Curate)
on Mar 17, 2004 at 17:00 UTC ( #337411=note: print w/replies, xml ) Need Help??


in reply to Frontpage staleness detector

I'm curious about this structure:

exit main( @ARGV ); ... sub main{}

Why are you using it? (style, efficiency?)

--
Allolex

Replies are listed 'Best First'.
Re: Re: Frontpage staleness detector
by diotalevi (Canon) on Mar 17, 2004 at 17:05 UTC
    It makes clear that there isn't some other code at file scope-level that isn't going to run later and less visibly. I just do this for scripts.