Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by BrowserUk (Pope)
on Apr 05, 2013 at 15:20 UTC ( #1027151=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;
    close BW;
    
  2. or download this
    C:\test>type junk35.dat
    0.642375 125 SIL
    ...
    7.478125 125 ???
    7.622625 125 ??
    7.956125 125 ?
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2014-08-29 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls