Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Array Filter and Lookahead

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

Help for this page

Select Code to Download


  1. or download this
    my @filtered = map { /.*(?<!\d)(\d+)/; $1 // '' } @lines;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2015-03-30 06:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (633 votes), past polls