Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Array Filter and Lookahead

by moritz (Cardinal)
on Nov 21, 2012 at 06:38 UTC ( #1004851=note: print w/replies, xml ) Need Help??


in reply to Re^2: Array Filter and Lookahead
in thread Array Filter and Lookahead

Right, I forget about Perl 5's insane behavior about capture variables when a match failed. The correct way would be to use /.../ and $1 // '' or some variation thereof.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2016-12-09 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (153 votes). Check out past polls.