Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: find & replace a string in perl

by k_manimuthu (Monk)
on Nov 25, 2010 at 07:51 UTC ( #873591=note: print w/replies, xml ) Need Help??


in reply to find & replace a string in perl

For your code, you use the same file handler (INF) for read and appened. When you are open a file handle for append mode, the file position is shows the end of the file. You may use another file handle for write mode, then you able to got the expected output.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://873591]
help
Chatterbox?
[james28909]: howdy, could a kind monk help me test connectivity to my ftp server? i cannot connect to it from within my home network behind a public ip (i have a dynamic ip) and just need to make sure users can connect.
[james28909]: oh nevermind, i see one of the users in the list of connected users now. thanks!

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-07-27 14:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (416 votes). Check out past polls.