Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Why was indirect object syntax inferred here?oby eg (Friar) |
on Feb 17, 2001 at 01:38 UTC ( [id://59000]=note: print w/replies, xml ) | Need Help?? |
You need to prototype your sub if you want to use it like a builtin (see perlsub) inside of the sub definition.
Either that or put parens around the argument in the sub.
I guess the problem is that, inside of the sub definition, walk is not yet defined.
In Section
Seekers of Perl Wisdom
|
|