Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 avoiding work at the Monastery: (7)
As of 2024-04-19 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found