[Perl-unix-users] Flushing all open file descriptors...

2005-08-25 Thread Arijit Das
Is there a Perl func which, when executed, ensures that all the open file descriptors of the corresponding process are flushed immediately?   What I am looking for is this...   #!/usr/bin/perl # Open lots of files here and write some data to them but do not flush any of them... ... a

RE: [Perl-unix-users] Sharing Variables among Processes...

2005-08-25 Thread Arijit Das
Hello everybody,   Thanks a lot for all your suggesstions...   I think I should be able to solve my problem in the best possible way with one of your suggestions.   Thanks again, ArijitMatt Schneider <[EMAIL PROTECTED]> wrote: Perhaps others might know better but to the best of my knowledge the

[Perl-unix-users] Re: Flushing all open file descriptors...

2005-08-25 Thread $Bill Luebkert
Arijit Das wrote: > Is there a Perl func which, when executed, ensures that all the open > file descriptors of the corresponding process are flushed immediately? > > What I am looking for is this... > > #!/usr/bin/perl > > > # Open lots of files here and write some data to them but d

[Perl-unix-users] Re: Flushing all open file descriptors...

2005-08-25 Thread Arijit Das
For me to use this, I will have to explicitly specify/SELECT all the file handles and then execute $| =1; which is something i don't want...cos my pgm is huge and finding out open file handles from each corner of it is cumbersome... So, I am looking for a func/cmd which flushes all the open files