in reply to What is the logical error here (Fixed, but I want to understand)
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".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What is the logical error here (Fixed, but I want to understand)
by hghosh (Acolyte) on Jun 07, 2019 at 14:48 UTC | |
by haukex (Archbishop) on Jun 07, 2019 at 14:53 UTC |