Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 ( #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
Node Status?
node history
Node Type: note [id://153135]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2019-07-20 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?