Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Grep Pattern

by LanX (Archbishop)
on Dec 20, 2018 at 14:34 UTC ( #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
Node Status?
node history
Node Type: note [id://1227528]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2019-11-15 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (80 votes). Check out past polls.

    Notices?