I'm using the "block" eval, which is just a "try/catch" mechanism, so I can
"die" deep in parsing recursion and still be able to go on to the next test case. It's just a different
feature with the same name as the "string" eval, which is what they don't want to allow.
I could have used a hash to map operations to their proper subs, but why bother when perl already has a hash
that does that for me. "Polymorphism forever!" hehehe
"Ah, I think I got it," - yes, yes you do :)
In reply to Re^3: Use cases for 'sub Pckg::func { }' ?
by tybalt89
in thread Use cases for 'sub Pckg::func { }' ?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |