Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Search and Replace Text File

by sauoq (Abbot)
on Oct 21, 2002 at 20:17 UTC ( [id://206918]=note: print w/replies, xml ) Need Help??


in reply to Search and Replace Text File

can anyone help find out why I can not print to the text file with the new value found?
. . .
open( DATA_OUT, ">/unsecure/test.new" ) or die "$!\n";

My guess is that you don't really want an absolute path there and that the directory /unsecure doesn't exist. Earlier in the code you used a relative path. Try removing the leading slash.

-sauoq
"My two cents aren't worth a dime.";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-28 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found