Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 browsing the Monastery: (8)
As of 2014-07-28 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (209 votes), past polls