in reply to return a reference to the result of a function

Alternate approach:
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