in reply to Split on first of several

There's also
my ($x, $y) = $s =~ /^(.*?)0(.*)/s; -or- my ($x, $y) = $s =~ /^([^0]+)0(.*)/s;