A sub in scalar context (as is the case here) cannot do anything but return a value. (It crashes Perl when they don't.)
- People for the equitable treatment of undef
In reply to Re^2: I don't understand error message
by ikegami
in thread I don't understand error message
by lomSpace
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |