Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Grep Pattern

by LanX (Saint)
on Dec 20, 2018 at 14:34 UTC ( [id://1227528]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<33> x @a=(0,1,1); grep { (each @a)[1] } A..L
    0  'B'
    ...
    3  'G'
    4  'J'
    5  'K'
    
  2. or download this
      DB<34> x @a=(0,0,1,1); grep { (each @a)[1] // (each @a)[1] } A..L
    0  'C'
    ...
    3  'H'
    4  'K'
    5  'L'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-16 22:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found