Recent activity
Subscribe to this feed
Construct asked a question in O'Reilly Media on September 30, 2008 00:24:
sub routine string callProbly 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;
print(@returnarray);
}
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.
Loading Profile...
