Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: How to end a Perl script

by demerphq (Chancellor)
on May 03, 2002 at 10:33 UTC ( [id://163758]=note: print w/replies, xml ) Need Help??


in reply to Re: How to end a Perl script
in thread How to end a Perl script

A traditional well organised perl scipt looks like:

(Caugh) Well theres a little debate this structure: where do you put your subs.

Also running perltidy over the code would immediately make the confusion at the end of example go away. But you have some good points anyway... :-)

Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.

Replies are listed 'Best First'.
Re: Re: Re: How to end a Perl script
by tachyon (Chancellor) on May 03, 2002 at 11:30 UTC

    Yeah. Subs at the begining or end is a bit like the old question "What comes first? The chicken or the egg?"

    There is of course no real definitive logical answer but it is a very good topic for debate over a bottle or two of red.....Speaking of which my glass appears empty :-)

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://163758]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-16 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found