Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Can someone elaborate as to why this isn't working

by serf (Chaplain)
on Jan 01, 2006 at 13:22 UTC ( [id://520235]=note: print w/replies, xml ) Need Help??


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 --

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://520235]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-24 06:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found