|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re^2: Taking reference to functionby perlsaran (Sexton) |
| on Apr 16, 2009 at 08:09 UTC ( [id://757881]=note: print w/replies, xml ) | Need Help?? |
|
\&thefunc is a good option..
It reduces memory consumption in symbol table
Using symbolicreferences confuses the programmer..
normally ppl will think $$variable = dereferenicing a scalar variable..if it is unavoidable then use
${"$variable"}
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||