Function Call

Hi,
I have a string corresponding to a function. How I can call that function without if statement?
Thanks in advance.

Please read forum rules..

do not do double post..

Thanks
Sha

Yes, I Know, but I couldn't change my post subject. It's result of my bad internet connection. Sorry.

please help me
How we can run a string as a function. for exam, I make a hash in perl and put string in the key and a function reference to value.
it's possible?

#!/usr/bin/perl

sub myfunc() {
my($a,$b) = @_;
print "a = '$a', b = '$b'\n"
};

$myvar = "myfunc";

&$myvar("one","two")

It's cool. TinWalrus Thanks.