is both a valid signature and a valid prototype. So you have to explicitly tell perl which way to parse.sub foo($) { .... }
Dave.
In reply to Re: Modern Subroutine Signature Requires Perl Version
by dave_the_m
in thread Modern Subroutine Signature Requires Perl Version
by InfiniteSilence
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |