Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Parsing each file of a directory to change once string instance to another

by metadoktor (Hermit)
on Mar 20, 2002 at 20:49 UTC ( [id://153135]=note: print w/replies, xml ) Need Help??


in reply to Parsing each file of a directory to change once string instance to another

You opened the file for reading but you're trying to write to it too!

You need to write your data out to another file.

metadoktor

"The doktor is in."

  • Comment on Re: Parsing each file of a directory to change once string instance to another

Replies are listed 'Best First'.
Re: Re: Parsing each file of a directory to change once string instance to another
by z28 (Sexton) on Mar 20, 2002 at 22:02 UTC
    Ah! I want to write to the same file that I just opened. Is this possible?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found