Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 romping around the Monastery: (7)
As of 2014-08-23 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (176 votes), past polls