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: <%-(-(-(-<
In reply to Re^3: variable access
by AnomalousMonk
in thread variable access
by aioan1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |