Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Replace a line with a new one

by kabel (Chaplain)
on Oct 14, 2002 at 21:02 UTC ( #205217=note: print w/replies, xml ) Need Help??


in reply to Replace a line with a new one

for this type of file processing i love to use Tie::File

then the file is merely a perl array and as such can be operated with splice to dwym. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://205217]
help
Chatterbox?
LanX really needs a new phone
Discipulus LanX is obsessed by Brexit..
[LanX]: I Can't Wait ...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2018-02-23 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (301 votes). Check out past polls.

    Notices?