my $reissue="reissue";
my $yes="Y";
my $no="N";
my $phase =1;
my $dateMatch=$no;
my $NPpending="NPpending";
my $matchRating="matchRating";
my $HITstatus=$reissue;
if (($dateMatch == $yes) && ($phase == 1)) {
$HITstatus=$NPpending;
}
if ($dateMatch == $yes) {
$HITstatus=$matchRating;
}
print $HITstatus."
\n";
print $dateMatch."
\n";
===============================
Here's the output:
matchRating
N