in reply to Re^2: variable access
in thread variable access
I used "return" ...
But how did you use return? Are you saying that adding the statement
return $tura;
after the debug print statement that showed you that $tura was something you expected and then assigning the returned value to another lexical
my $other_lexical = tura();
passed nothing back from the subroutine? This seems doubtful...
Give a man a fish: <%-(-(-(-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: variable access
by Anonymous Monk on Jan 06, 2015 at 20:02 UTC | |
by AnomalousMonk (Archbishop) on Jan 07, 2015 at 00:18 UTC | |
by aioan1 (Acolyte) on Jan 06, 2015 at 22:35 UTC |