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!
In reply to Re: Count the number of return values from a subroutine
by tomhukins
in thread Count the number of return values from a subroutine
by dkubb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |