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 |