in reply to substitution in $0
I believe that I can provide an answer for why seek isn't happening how you would like it to. You are opening the file in append mode (with the ">>"). In this mode, anything you write will be appended to the original file. There is a lot of information gained by typing perldoc -f open at your nearest command prompt. And from what I see, I think that you need "+<" in front of the $0.
Enjoy.
Enjoy.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: substitution in $0
by Helter (Chaplain) on Oct 02, 2002 at 13:40 UTC | |
by Discipulus (Canon) on Oct 03, 2002 at 12:00 UTC | |
by fglock (Vicar) on Oct 03, 2002 at 12:23 UTC |
In Section
Seekers of Perl Wisdom