Thanks to everyone who contributed to this thread. Wow. There truly is more than one way to do it! We've got nested anonymous subs, code strings mapped with eval, a quasi-switch statement disguised as a hash, an OO solution ... I've learned a bunch here.
Thanks again, all,
BCE
--You'reYour punctuation skills are insufficient!
In reply to Re: Building an anonymous subroutine
by BorgCopyeditor
in thread Building an anonymous subroutine
by BorgCopyeditor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |