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

Re^2: do $n exist in grep?

by ikegami (Pope)
on May 12, 2021 at 17:11 UTC ( #11132506=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    map { /^..(A|B)./ ? [ $_, $1 ] : () } @a
    
  2. or download this
    map { /^..(A|B)./ ? $1 : () } @a
    
  3. or download this
    map /^..(A|B)./, @a
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2021-08-02 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (28 votes). Check out past polls.

    Notices?