Gossamer Forum
Home : General : Perl Programming :

sub routine reference question

Quote Reply
sub routine reference question
Is there a way to write this in one statement?

Code:
my $page = \&$do;
return &$page;

Assuming $do to be just a regular string.

- Jonathan
Subject Author Views Date
Thread sub routine reference question jdgamble 3509 May 26, 2007, 7:14 PM
Post Re: [jdgamble] sub routine reference question
thekostya 3335 Jul 12, 2007, 6:15 AM