in reply to Re: pattern match showes true
in thread pattern match showes true

Hi Thank you for your reply. I tried the 'ne' option but it still doesnt recognize it. I still have atru when I compare those specific values.

Replies are listed 'Best First'.
Re^3: pattern match showes true
by ikegami (Patriarch) on Jul 30, 2007 at 20:41 UTC
    $siebdb = 'somekey'; $preprod->{$siebdb} = "DISK:\\db2_backup\\"; $prod->{$siebdb} = "USEREXIT"; if($preprod->{$siebdb} ne $prod->{$siebdb}) { print "NOT EQUAL"; } else { print "EQUAL"; }

    outputs

    NOT EQUAL

    You should be getting the same.