my $old = "......"; my $new = "......"; my $diff = $old ^ $new; my $cnt = $diff =~ y/\0//cd;
Now $cnt holds the amount of character by character differences.
Abigail
In reply to Re: regex in password changing
by Abigail-II
in thread regex in password changing
by jcpunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |