Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: remove lines from file ending with / char

by swampyankee (Parson)
on Sep 03, 2012 at 13:23 UTC ( #991432=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (((pseudocode)))
    open, for reading, the file you want to change (input file)
    ...
    }
    
    replace the input file with the temp file
    
  2. or download this
    (((pseudocode)))
    
    ...
    
    write array into the file
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2015-07-01 19:36 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 (17 votes), past polls