in reply to Re: A Memory Leak in Perl iThreads?
in thread A Memory Leak in Perl iThreads?
and I cant use it any more in my threaded program in windows, or else I get a Windows error!!!, this sub is not used by threads, but any way, its fatal... there goes another great perl bug to submit!#sub get_files { # # my ($work_dir, $ext) = @_; # opendir (FILES, "$work_dir"); # my @to_go = grep {/\.$ext$/} readdir(FILES); # close(FILES); # return (@to_go); # #}
|
|---|