Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: single line if conditional

by dreadpiratepeter (Priest)
on Mar 31, 2004 at 15:55 UTC ( [id://341322]=note: print w/replies, xml ) Need Help??


in reply to single line if conditional

You don't say what value you are reading in, or why you feel that you got the wrong result. Also, have you tried printing the value of $name before the if to verify that you are getting the param right? (which is the more likely problem).
As always, are you using strict?


-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-25 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found