in reply to Re^3: a reference by any other name...
in thread a reference by any other name...
But I see that it creates a global, whereas I really only want a lexical....*foo = \$bar;
would seem to come close though. Although, if I can't use a lexical, perhaps I should just declare our %bar before the function call, and just call it what it is without bothering to pass a reference... that seems like a bad solution though.local *foo = \$bar;
Thanks! I learned something. Of course, I'm always up for learning more, if any other smartymonks care to divulge their secrets.
|
|---|