Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
General
:
Perl Programming
:
sub routine reference question
Previous Thread
Next Thread
Print Thread
View Threaded
May 26, 2007, 7:14 PM
jdgamble
Enthusiast
(700 posts)
May 26, 2007, 7:14 PM
Post #1 of 2
Views: 3480
Shortcut
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
Jul 12, 2007, 6:15 AM
thekostya
New User
(3 posts)
Jul 12, 2007, 6:15 AM
Post #2 of 2
Views: 3308
Shortcut
Re: [jdgamble] sub routine reference question
In reply to
Code:
print &{\&$do};
Previous Thread
Next Thread
Print Thread
View Threaded