Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Files not altered

by balakrishnan (Monk)
on Jan 05, 2009 at 05:07 UTC ( #734107=note: print w/replies, xml ) Need Help??

in reply to Files not altered

Node : File contents not updated properly
refer this node, to get to know how to select the file handles using the select() function.
Best regards,

Replies are listed 'Best First'.
Re^2: Files not altered
by wol (Hermit) on Jan 05, 2009 at 14:38 UTC
    I had a look at the linked node, but I can't see the connection with this question (other than superficially "content not appearing in files"). Could you explain further?

    use JAPH;
    print JAPH::asString();

      It may not be exactly related to your requirement.

      I'm trying to convey that when you see that file is not updated, there may be a case that the file handle not selected for automatic flushing. In such a case, you can use the select to make the file updation proper.

      This is just to give you some clarification in the "files not altered" matter.
      It isn't relevant (yet) since you aren't writing to a file in your example. Once you do get that straightened out, autoflush can be useful if you are trying to look at your output file while the program is still running.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://734107]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2018-04-23 12:26 GMT
Find Nodes?
    Voting Booth?