Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: syntax issues

by gregw (Beadle)
on Mar 29, 2001 at 02:45 UTC ( [id://67986]=note: print w/replies, xml ) Need Help??


in reply to syntax issues

The statement:
if ($ispresent =='false') {
should employ the 'eq' string comparison operator rather than the '==' numeric comparison operator, like so:
if ($ispresent eq 'false') {
This is one of those little 'top-10-things-to-check-for' perl quirks.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (1)
As of 2024-04-24 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found