my $aref; @$aref = split //, 'tempfoo'; print $aref->[0];
------------------------------------------------------------
"Perl is a mess
and that's good because the
problem space is also a mess." - Larry Wall
In reply to Re: return a reference to the result of a function
by dvergin
in thread return a reference to the result of a function
by tempfoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |