Perl-Sensitive Sunglasses | |
PerlMonks |
Re: List arguments of a methodby andal (Hermit) |
on May 15, 2014 at 06:27 UTC ( [id://1086104]=note: print w/replies, xml ) | Need Help?? |
I don't believe this is possible in Perl. Here all of the arguments are passed in @_ array, so effectively they have no names. In the function you can copy values from that array to any variables you like, or not copy them at all.
In Section
Seekers of Perl Wisdom
|
|