Subject: | small bug in children() |
The children() method will fail if a directory happens to be named '0'.
Rather than:
while(my $entry = $dh->read) { ... }
Use:
while(defined(my $entry = $dh->read)) { ... }
Thanks!
This queue is for tickets about the Path-Class CPAN distribution.
I prefer that bugs & patches are filed on GitHub rather than on RT: https://github.com/kenahoo/Path-Class/issues. Thanks.
The Basics
People
|
Bug Information
|