Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: capture strings

by frankus (Priest)
on Jul 08, 2002 at 16:30 UTC ( #180217=note: print w/ replies, xml ) Need Help??


in reply to capture strings

Best to provide some sample data..
Oh you did, use html tags to markup the question, then ;)

nnn//elele/file/log.cxx:log_lu.cxx
nsn//els/fil/log.cxx:# log file

So something like;
my @log_files= grep{ !/#/ }(<I>);

--

Brother Frankus.

¤


Comment on Re: capture strings
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2015-07-04 19:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls