in reply to regex in password changing
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: regex in password changing
by jcpunk (Friar) on Jun 27, 2003 at 15:19 UTC |