>>>>> ""Dan" == "Dan Sopher" <[EMAIL PROTECTED]> writes:

"Dan> Thanks for everyone's replies. It helped a lot. It ended up like this.
"Dan> My next question is the use of the array reference, @list. Is it bad
"Dan> form?

Your solution confuses me.

Why not just:

my @list;
find sub { push @list, $File::Find::name }, "/var/SAMPLES";

By the way, "no_chdir" makes it slower.  Avoid it if you can.

-- 
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/


Reply via email to