in reply to Count the number of return values from a subroutine
Personally, I find
easier to read thanmy $count = scalar function();
my $count = () = function();
Update: This is a bad idea, as explained in Re: Count the number of return values from a subroutine and Re^2 Count the number of return values from a subroutine. You live and learn!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2 Count the number of return values from a subroutine
by thpfft (Chaplain) on Jul 11, 2001 at 01:22 UTC |