Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Format statement and 'if' loop

by Krambambuli (Curate)
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
---

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-07-23 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (345 votes). Check out past polls.