Hi,
Your comparison operator is wrong...
You should have use the following:
if ( $nameA == $nameB ) { print "$nameA, $machine, $password\n"; }
if ( $nameA =~ m#^$nameB$#) { print "$nameA, $machine, $password\n"; }
Regards,
Gopal.R
In reply to Re: searching two files
by gopalr
in thread searching two files
by tcf03
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |