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

Re^6: deleting special lines from files

by theroninwins (Friar)
on Sep 02, 2004 at 13:33 UTC ( #387907=note: print w/replies, xml ) Need Help??


in reply to Re^5: deleting special lines from files
in thread deleting special lines from files

I thought that /^\;\;\{2\}/ would work but it doesn't
  • Comment on Re^6: deleting special lines from files

Replies are listed 'Best First'.
Re^7: deleting special lines from files
by theroninwins (Friar) on Sep 02, 2004 at 13:57 UTC
    Finally I got it. It is :
    my @data = grep { !/\S+;;/ } <SCAN>

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2022-05-20 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (73 votes). Check out past polls.

    Notices?