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