in reply to Inline::Files unopened filehandle errors

You should try moving the seek up above the first place where to try to write to PREVIOUSCHAPTERS (but still after the end of the loop where you read from PREVIOUSCHAPTERS). No, I don't know if that will fix the problem; but it will at least mean you code matches how the documentation says you should do things. :)

- tye        

  • Comment on Re: Inline::Files unopened filehandle errors (seek)

Replies are listed 'Best First'.
Re^2: Inline::Files unopened filehandle errors (seek)
by NateTut (Deacon) on Oct 16, 2009 at 15:17 UTC
    Thank You. Now I only get one error message:

    C:\Src\pl>perl TTC.pl 33:[1] 33:[3] 33:[] print() on unopened filehandle PREVIOUSCHAPTERS at TTC.pl line 56. $Chapter[4]


    Here is the revised code: