>>>>> "Rob" == Rob Dixon <[EMAIL PROTECTED]> writes:

Rob> You could forget about diagnosing the problem and just use

Rob>   my $n = unlink grep -f, glob '/test/directory/klee*';
Rob>   print "$n files deleted\n";

Unless you're running an older Perl, where that'll fire off a shell
to do the glob(), and then you're back with an "arg list too long"
situation.

Everything after 5.6 is OK, anyway.  But beware handing out advice
like this without the 5.5 caveat.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to