good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
phantom subroutine parameter valuesby rpelak (Sexton) |
on Apr 15, 2008 at 02:53 UTC ( [id://680420]=perlquestion: print w/replies, xml ) | Need Help?? |
rpelak has asked for the wisdom of the Perl Monks concerning the following question:
So I swear I have seen this before... But I can't remember under what conditions it happens, so I can't avoid it.
I have a sub for which all parameters are optional. And sometimes... when I call it with no parameters, the parameters of the proc it was called from show up as it's parameters... Anyone know under what circumstances this happens, and of course how to avoid it from happening?rpelak
Back to
Seekers of Perl Wisdom
|
|