Inserting content into a file at a particular locationby perlpal (Scribe)
|on Aug 25, 2010 at 05:32 UTC||Need Help??|
perlpal has asked for the
wisdom of the Perl Monks concerning the following question:
Hi Perl Monks,
My requirement is to insert content (an array of variables to be more specific) into a file at the location with the place holder "USER NOTE".
I have tried to use TIE::File but seem to be missing out on something pretty fundamental as it does not work for me currently.
Excerpt of the perl code that i am using
Note : the file handle is opened in the following mode "+>>".
The above code snippet causes my script to hang.
Thanks in advance!