in reply to Re: passing paramters to a sub
in thread passing paramters to a sub

Using pop makes the use of prototypes unneeded. Moreover, The purpose of prototypes in perl subroutines has interesting considerations about prototypes (including a link to Far More Than Everything You've Ever Wanted to Know about Prototypes in Perl).

Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Don't fool yourself.

Replies are listed 'Best First'.
Re^3: passing paramters to a sub
by monarch (Priest) on Aug 31, 2005 at 04:34 UTC
    I use prototypes for one and one reason only.

    Compile-time checking.

    So I'd argue that prototypes are still desirable, even with the pop.