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


Comment on Re: Frontpage staleness detector
Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (15)
As of 2015-07-28 16:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls