rpelak has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: phantom subroutine parameter values
by blahblahblah (Priest) on Apr 15, 2008 at 03:08 UTC | |
by rpelak (Sexton) on Apr 15, 2008 at 03:53 UTC | |
by Discipulus (Canon) on Apr 16, 2008 at 08:00 UTC | |
by ikegami (Patriarch) on Apr 16, 2008 at 10:57 UTC | |
|
Re: phantom subroutine parameter values
by GrandFather (Saint) on Apr 15, 2008 at 03:06 UTC |