Paul wrote:

> One particular thing to watch -- most systems have a limit on how many
> filehandles a process can have open at a time. To see your max, (and as
> a template for another solution), try this:
> 
> use FileHandle;
> while ($_ = new FileHandle ">deleteme") {
>    push @_, $_;
>    unlink "deleteme";
> }
> print scalar @_,"\n";
> 
> Our HP midrange says 57. :)

or you can check your system's limits.h or unistd.h

you can also open more than (by simulation) your system allow by using the 
FileCache module.

david

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to