Get your own customer support community

Recent activity

Subscribe to this feed
  • question

    Construct asked a question in O'Reilly Media on September 30, 2008 00:24:

    Construct
    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;
    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.