sub step_name1 { print "stuff\n"; } sub step_name2 { print "more stuff\n";} sub restartStep ($) { my $code = shift; # Optional: test for existance of Package::"$code" here &$code; } restartStep "step_name1"; restartStep "step_name2";
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
It's not what you know, but knowing how to find it if you don't know that's important
In reply to Re: syntactic sugar, hemlock, and other such fun
by Masem
in thread syntactic sugar, hemlock, and other such fun
by MZSanford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |