Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Syntactic Confectionery Delight
 
PerlMonks  

Re: Frontpage staleness detector

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 12: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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://337411]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.