Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: removing lines that are in the end of a file

by BrowserUk (Pope)
on Apr 19, 2013 at 12:46 UTC ( #1029505=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
    }
    truncate $file, $lastpos + $len;
    close BW;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029505]
help
Chatterbox?
[jedikaiti]: Hello Monks

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-11-20 17:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (290 votes). Check out past polls.

    Notices?