On Feb 10, 2004, at 5:45 PM, Peter N Lewis wrote:

my $dh;
opendir $dh, $startDir || die $!;
while (my $entry = readdir($dh)) {

Or consider using DirHandle:


use DirHandle;

my $dh = DirHandle->new($startDir) or die $!;
while (defined(my $entry = $dh->read())) {
        ...

Edward Moy
[EMAIL PROTECTED]
---------------------------------------------------------------
(This messages is from me as a reader of this list, and not a statement from Apple.)




Reply via email to