Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Multiple numeric not or compare in if statement

by choroba (Archbishop)
on Jul 02, 2020 at 14:38 UTC ( #11118817=note: print w/replies, xml ) Need Help??


in reply to Re: Multiple numeric not or compare in if statement
in thread Multiple numeric not or compare in if statement

Also note that "2\n" matches the regex. If you don't want that, use \z instead of $.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2020-08-10 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (58 votes). Check out past polls.

    Notices?