in reply to compare string problem
Add some Data::Dumper lines and you will see
... if ($cmp eq $clt) { print "correct!\n"; } else { use Data::Dumper; $Data::Dumper::Useqq=1; print Dumper(\$cmp,\$clt); } # Output: $VAR1 = \"u_ser_a"; $VAR2 = \"u_ser_a\0";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: compare string problem
by Boring (Novice) on Dec 10, 2010 at 09:57 UTC |