in reply to Inline::Files unopened filehandle errors redux
Your question is answered (obliquely) by reading the section of the POD entitled "Writable virtual files".
By default, the virtual files are opened in readonly mode, and when you read past the EOF, they are closed. It is not enough to just rewind (seek FILE, 0, 0;), you also need to re-open the file for write or read-write access.
This is not a complete answer, The affect of the above is to cause multiple __CONFIG__ sections to be written. I think that is a bug. I think the module suffers a severe lack of maintenance.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Inline::Files unopened filehandle errors redux
by NateTut (Deacon) on Oct 16, 2009 at 22:08 UTC | |
by BrowserUk (Patriarch) on Oct 16, 2009 at 23:28 UTC | |
by Anonymous Monk on Oct 17, 2009 at 00:10 UTC | |
by BrowserUk (Patriarch) on Oct 17, 2009 at 05:26 UTC | |
by Anonymous Monk on Oct 17, 2009 at 06:50 UTC | |
|