in reply to Perl 5.32.0 Too many open files ... Runtime.pm

Hi,

Don't look inside modules ;)

the problem is in your code, you're not closing filehandles for some reason

you report problems by posting the smallest possible program that REPRODUCES the bug

$ perl -fe " while(++$i){ open my($fh),'<',1 or last; push @f, $fh; } + warn $i; require strict;" 2046 at -e line 1. Can't locate strict.pm: Too many open files at -e line 1.

As you can see the problem is not in require or Runtime.pm

  • Comment on Re: Perl 5.32.0 Too many open files ... Runtime.pm (dont look inside modules ;)
  • Download Code