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

Re: grep question

by murugu (Curate)
on Nov 17, 2005 at 05:54 UTC ( #509298=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($match)=$file=~/(\d{4})\d{4}\.txt/;
    
  2. or download this
    my @a = map {/(\d{4})\d{4}\.txt/} @filenamearray;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2023-02-04 02:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (30 votes). Check out past polls.

    Notices?