in reply to Re: Re: where do you put your subs
in thread where do you put your subs

See now I would write
sub main { } exit main;
But when you do your main as a sub its different to doing your main as code as it ivolves a lexical scope. But this is good practice, in fact tye somewhere has a node covering a similer but more involved version of the same thing.

Yves / DeMerphq
--
When to use Prototypes?
Advanced Sorting - GRT - Guttman Rosler Transform