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

Re: remove lines from file ending with / char

by BillKSmith (Chaplain)
on Sep 03, 2012 at 19:01 UTC ( #991501=note: print w/ replies, xml ) Need Help??


in reply to remove lines from file ending with / char

This task can be done with a one-liner. Refer to the runtime options /e, /i, and /p in perldoc perlrun.

Bill


Comment on Re: remove lines from file ending with / char

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-07-10 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls