Hi All,
I have a querry if the following can be possible.
Suppose I have many sub routines in a module abc.pm
package abc;
sub zzzq
{
}
sub zzze
{
}
sub zzzr
{
}
Now I use this module in another script. I want to call the sub routines, as
suggested by the argument passed to the script.
i.e.
my_script q should call the sub routine zzzq,
my_script e should call the sub routine zzze,
...
when there are many sub routines,
if i get the name of subroutine as
$name = "zzz".$argument_received;
can I call the sub routine as
abc::$name;
This does not work.
Any suggestion, to get this done?
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>