I doubt perl will be changed to support such behaviour, since it is very rarely required and the information can quite easily be found by other means.
Here's one way to do it:
($s1 ^ $s2) =~ /[^\0]/ and return $-[0];
Hugo
In reply to Re: Should string inequality operators return the point the of divergance?
by hv
in thread Should string inequality operators return the point the of divergance?
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |