![]() |
|
XP is just a number | |
PerlMonks |
RE: RE: RE (tilly) 3: Fly Subroutines on the Flyby Adam (Vicar) |
on Sep 19, 2000 at 22:41 UTC ( #33175=note: print w/replies, xml ) | Need Help?? |
Exactly. The example I gave is not a closure, no one suggested it was. In fact, I specifically said I was trying this instead of a closure.
Ok, maybe I wasn't That specific. What I said was, "I'm not sure how to do this using a closure (short of a big ugly if-then-else structure) so I tried to create subroutines..." which I read, perhaps mistakenly, "I didn't like the use of a closure so I tried something else". I apologize if this confused anyone.
In Section
Seekers of Perl Wisdom
|
|