in reply to Re: Write to file, after manipulation
in thread Write to file, after manipulation

ibanix did answer your question - it's just somewhat overshadowed by his misc. comments in the top half of his node. The problem is you're opening the file for writing only, and then attempting to read from it.

You may want to have a look at perlopentut sometime for some of the subtleties of working with files.

Makeshifts last the longest.

  • Comment on Re^3: Write to file, after manipulation

Replies are listed 'Best First'.
Re: Write to file, after manipulation
by FireBird34 (Pilgrim) on Jan 28, 2003 at 20:02 UTC
    Will do, thanks. I got it working -- it may be a bit *simplistic*, but I just opened the file, read from it, closed it, then re-opened it for writing... I'm just stuck on one other little portion, but that's on the IRC side. Again, thanks -- I'll head over and take a look at that tutorial aswell.