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

Re: if statement question

by toolic (Chancellor)
on Dec 13, 2012 at 20:23 UTC ( #1008713=note: print w/ replies, xml ) Need Help??


in reply to if statement question

If $search has a true value, the code block inside the curlies will be executed. If not, the code inside the curlies won't be executed.

Tip #2 from the Basic debugging checklist: display the contents of variables using print:

print ">>>$search<<<"; if ($search) { }


Comment on Re: if statement question
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-08-31 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls