I care because I'd like to do this: substr($string,a_subroutine_call_that_returns_offset_and_length(@some_args))
You can get Perl to ignore the prototype (that was explained by choroba) on Perl 5.16 and up via: &CORE::substr("abcdefg",@a)
In reply to Re: substr odd behavior with list arguments
by haukex
in thread substr odd behavior with list arguments
by wfischer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |