in reply to Re: Auto-detecting returned or passed variable type
in thread Auto-detecting returned or passed variable type

Not if funcB returns a list. Then funcA would get a single reference to the last item in the list. Not to the whole list.
  • Comment on Re^2: Auto-detecting returned or passed variable type

Replies are listed 'Best First'.
Re^3: Auto-detecting returned or passed variable type
by roju (Friar) on Aug 19, 2004 at 21:14 UTC
    Are you sure?
    $ perl -e " sub a{return (1,2)} sub b{print scalar @_, map $$_, @_} b(\a());"
    prints 212