http://www.perlmonks.org?node_id=840925


in reply to Format statement and 'if' loop

Try

if ($subdvn eq 'KP' and $tow eq 'RP' and $phase eq '1' )

instead of

if ($subdvn=='KP' && $tow=='RP' && $phase=='1' )


Krambambuli
---

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.