in reply to Bug in latest File::Util?
From test code and docs, this code does what is supposed to do (with no actual "simple file", returns the dot directories + others). If a later version of Util::File is throwing an internal error as your post indicates, then I would consider that a bug. Forcing installation of a "non-approved" AS repository module version is a mess that I really don't want to attempt.#!/usr/bin/perl use strict; use warnings; # Using Active State Perl 5.20.2 use File::Util; #version 4.132140 my $f = File::Util->new(); my @d = $f->list_dir("C:/test"); print join " ", @d, "\n"; __END__ . .. anothertestdir bar bar2
Update: From looking at next responses, it does appear that this is a legit bug report and I would recommend proceeding with that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Bug in latest File::Util?
by Corion (Patriarch) on Jun 21, 2016 at 12:09 UTC | |
by Tommy (Chaplain) on Jul 13, 2016 at 22:45 UTC | |
by Corion (Patriarch) on Jul 14, 2016 at 06:49 UTC | |
|
Re^2: Bug in latest File::Util?
by stevieb (Canon) on Jun 21, 2016 at 12:20 UTC |