Mind is blank or I have looked at a number of books, but I am just not getting ir right. Depending on the data provided, I want to invoke proc_step1, proc_step3, etc. Each will have two params passed ($Myloc, $MyTime). Dont want to hard code into table, but generate something like:
my $MySub = sprintf "proc_step%s", $MySubNbr; execute the sub. Have tried: &$MySub($MyLoc, $MyTime); # and &$MySub->($MyLoc, $MyTime) Always get the following error: Can't use string ("proc_step1") as a subroutine ref while "strict refs" in use at /d/src/pl532.pl line 520, <MYFILEIN> line 2. Running 5.8.3 on Solaris. Any questions and/or problems, please let me know. Thanks! Wags ;) WGO: x2224 ******************************************************* This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. ******************************************************* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>