![]() |
|
XP is just a number | |
PerlMonks |
Re: Re: Accessing Arrays and Listsby danger (Priest) |
on Jun 27, 2002 at 18:50 UTC ( #177812=note: print w/replies, xml ) | Need Help?? |
Just to clarify. Parens immediately after a function are taken as delimiters for the argument list (as you rightly explained) --- but that has nothing to do with Perl's prototypes:
I also show the unary + op as a better generalization of your last example --- it disambiguates without imposing numeric context.
In Section
Seekers of Perl Wisdom
|
|