in reply to syntactic sugar, hemlock, and other such fun
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: syntactic sugar, hemlock, and other such fun
by dragonchild (Archbishop) on Aug 30, 2001 at 17:46 UTC |