in reply to If/Else or Unless Not Triggering Correctly

Use eq to compare strings. == is for digity-type things:

unless( $data eq 'ARCHITECH' || $data eq 'CURR-LIB' || $data eq 'MARKET_PL +'){ ... }

Replies are listed 'Best First'.
Re^2: If/Else or Unless Not Triggering Correctly
by misterperl (Friar) on Apr 21, 2016 at 14:54 UTC
    else { # do nothing }
    is exactly the same as
    # do nothing
    (THAT IS if an optimizer zapped this clause for you. Otherwise it's not quite the same because it wastes machine cycles)