Variable variable name

Jason White jasona at inetarena.com
Wed Jul 3 18:14:31 CDT 2002


Here is some code.

my $functionToCall = "foo";

???????( )

sub foo(){
 
 print "FOO!\n";

}


How can I use the variable $functionToCall to replace ???????  with foo( ) ?

Jason White 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/archives/pdx-pm-list/attachments/20020703/aff4dc17/attachment.htm


More information about the Pdx-pm-list mailing list