Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://337411]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2017-04-28 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (526 votes). Check out past polls.