CORE::glob is equivalent to File::Glob::csh_glob, not bsd_glob (which is
what the now-deprecated File::Glob::glob calls).
Revision history for Web-Simple
+ - reinstate the right glob in XML::Tags
+
0.032 - 2016-11-15
- add HTTP::Body dep
- fix Test::More dep
no strict 'refs';
delete ${"${into}::"}{$tag}
}
- _set_glob(\&File::Glob::glob);
+ _set_glob(\&File::Glob::csh_glob);
overload::remove_constant('q');
$IN_SCOPE = 0;
};
use strict; use warnings FATAL => 'all';
use Test::More qw(no_plan);
+my $globbery;
+BEGIN { $globbery = join(', ', <t/globbery/o* t/globbery/t*>) }
{
package Foo;
}
sub globbery {
- <t/globbery/*>;
+ <t/globbery/o* t/globbery/t*>;
}
}
is(
join(', ', Foo::globbery),
- 't/globbery/one, t/globbery/two',
+ $globbery,
'real glob re-installed ok'
);