Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: regex needed with match operator (push for == map)

by Aristotle (Chancellor)
on Apr 28, 2003 at 13:56 UTC ( [id://253694]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @name;
    push @name, m{ /(\w+) /foo\z }x
      for @FILES;
    
  2. or download this
    my @name = map m{ /(\w+) /foo\z }x, @FILES;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2024-04-19 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found