in reply to Can someone elaborate as to why this isn't working

Are you doing a
close(FILE1);
after you have finished writing to the file?

I'm not familiar with activeperl - but is there a chance it's not flushing the output to the file?

(Although I would *expect* Perl to cleanly flush to and then close the filehandle when the script ends!?)

Replies are listed 'Best First'.
Re^2: Can someone elaborate as to why this isn't working
by vek (Prior) on Jan 02, 2006 at 08:28 UTC

    serf, good guess but activeperl behaves no differently than Perl on any other box in this regard. The buffer will be flushed and the filehandle closed when the program ends.

    -- vek --