The empty string evaluates to false in a boolean context, so the first value stored in $o is the return value of the print.
In reply to Re: Returned value from subroutine is 1 when returning ""
by chromatic
in thread Returned value from subroutine is 1 when returning ""
by fidesachates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |