But I'd rather write a my_substr() sub to avoid confusion.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
update:
°) see https://perldoc.perl.org/perlsub#Overriding-Built-in-Functions
In reply to Re^2: substr odd behavior with list arguments
by LanX
in thread substr odd behavior with list arguments
by wfischer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |