Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Format statement and 'if' loop

by Krambambuli (Deacon)
on May 20, 2010 at 13:05 UTC ( #840925=note: print w/ replies, xml ) Need Help??


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
---


Comment on Re: Format statement and 'if' loop
Re^2: Format statement and 'if' loop
by perl_seeker (Scribe) on May 20, 2010 at 13:21 UTC
    Ok.

    Thank you.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://840925]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2015-07-06 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls