in reply to Re: eliding number ranges
in thread eliding number ranges

print"$f-",substr($s,length+(("$f"^"$s")=~/(\0*)/)[0]),"\n";
can be reduced to
print"$f-",substr($s,/\0*/g&&pos),"\n"for("$f"^"$s");