in reply to Re: Re: Tie::File is sucking the life out of me
in thread Tie::File is sucking the life out of me
1) Fine, but again we didn't know that. The fact is that your double-use of the same file isn't causing a problem in this case, it's just asking for trouble if you use it in production though. And we had no way of knowing that your test code introduced elements not present in your production code.
2) Are both machines the same OS? If not, did you make sure to convert your line endings? I'm still keeping that one open as an option.
3) I ran your script using a text file instead of an empty file. I also ran it with an empty file as you're doing. It worked fine both ways. So again I have to ask if this snippet you've provided replicates the errant behavior.
As I said before, if you're dealing with different operating systems, ensure that you have converted your line endings.
And jeffa may also be right, with the suggestion to ensure that on both of your machines, your script has permission to work with the file in question.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Tie::File is sucking the life out of me
by GaijinPunch (Pilgrim) on Apr 27, 2004 at 08:20 UTC | |
by davido (Cardinal) on Apr 27, 2004 at 08:32 UTC | |
by ysth (Canon) on Apr 27, 2004 at 10:44 UTC | |
by davido (Cardinal) on Apr 27, 2004 at 15:06 UTC |