Help get this topic noticed by sharing it on Twitter, Facebook, or email.

sub routine string call

Probly easy answer but im looking for a way to call a sub out of a string into play after building it in the string dynamically. basically:
sub basesub {
return @somearray;

my secondsub {
my $str = "&basesub";
my @returnarray = $str;

i cant for the life of me find the method to call the subroutine out of the str back into play as a true sub.
1 person has
this question