If you look at the documentation of split from 5.10.1: "In scalar and void context it splits into the @_ array." Then, from here: "split() no longer modifies @_ when called in scalar or void context. In void context it now produces a "Useless use of split" warning. This was also a perl 5.12.0 change".
In reply to Re: What is the logical error here (Fixed, but I want to understand)
by haukex
in thread What is the logical error here (Fixed, but I want to understand)
by hghosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |