in reply to •Re^2: Eliminating substr warnings
in thread Eliminating substr warnings

Perl stuffs parens around the whole thing (with /g), according to perlop:
my @substrings = $string =~ /.{1,10}/gs;
Two bytes saved. 189 bytes of bandwidth used.