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

Re^3: Text matching repost

by afoken (Parson)
on Jun 18, 2012 at 14:24 UTC ( #976837=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($&) { print; }
    
  2. or download this
    perl  -E '$x="a0b"; $x=~/0/; say $&; if ($&) { die "not reached!" } if
    + ($x=~/0/) { say "matched zero" }'
    
  3. or download this
    0
    matched zero
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2014-09-02 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (29 votes), past polls