I knew about sort {BLOCK} already -- but what I was hoping to achieve was something recyclable -- where if I add other do_blah subs besides do_msalist, they can call the same sort routine. Hence, I like Stephen's suggestion of giving the hashes package scope with use vars.
This sort of triggers a new question -- I know package scope is a bad, bad thing under mod_perl in most cases, but can I work around it by explicitly undefing the hashes before the script returns?
Spud Zeppelin * spud@spudzeppelin.com
In reply to RE: Named Sort Subs with Strict?
by spudzeppelin
in thread Named Sort Subs with Strict?
by spudzeppelin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |