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