Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 perusing the Monastery: (5)
As of 2016-12-04 20:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.