Perl-Sensitive Sunglasses | |
PerlMonks |
Subroutine referenceby vinoth.ree (Monsignor) |
on Mar 13, 2009 at 04:30 UTC ( [id://750309]=perlquestion: print w/replies, xml ) | Need Help?? |
vinoth.ree has asked for the wisdom of the Perl Monks concerning the following question:
In the above code I tried to get the reference to a subroutine, When I try the first one with parameter it called the function and the return value's reference is saved in the $subref variable In the second one I tried without parameter the subroutine's reference saved in the $subref variable How these two interpreted differently in Perl?
Back to
Seekers of Perl Wisdom
|
|