The code below works. Thanks for the pointers on the unless loop,
haven't used that before. It appears that the limitation I was running
into was only on my Mac perl config; the code works fine under linux.
#!/usr/bin/perl -w
#open directory and load contents into hash
use strict;
my $dir="/te
Hello all,
I am trying empty a directory with over 4000 files with a script, and
do not understand why I can only delete half at a time. I am guessing
that the directory handle has a size limitation?? Is there a way to
load the contents into a large array or am I going about this all
wrong?