Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: totally lost

by JavaFan (Canon)
on Apr 29, 2012 at 16:22 UTC ( #967948=note: print w/replies, xml ) Need Help??


in reply to totally lost

Precedence. You're matching badinput against the negation of $input. Use:
if ($input !~ /badinput/) { ... }
instead.

Or

if (!($input =~ /badinput/)) { ... }
but that's more typing, and less idiomatic.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://967948]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-09-22 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (260 votes). Check out past polls.

    Notices?