in reply to substr odd behavior with list arguments
Use
my ($offset, $length) = a_subroutine_call_that_returns_offset_and_leng +th(@some_args); substr('abcdefg', $offset, $length);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: substr odd behavior with list arguments
by wfischer (Novice) on Mar 22, 2021 at 16:26 UTC |