Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Re: Re: Check on if statement

by CukiMnstr (Deacon)
on Aug 17, 2002 at 23:09 UTC ( [id://190932]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Check on if statement
in thread Check on if statement

if(!$foo || $foo =~ /\?/){ # either its blank or there is a ? somewhere in it }
actually, that would read: # it is blank, '0' or there is a '?' somewhere in it

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found