- or download this
$ perl -MFile::Glob::bsd_glob -wE'say for bsd_glob ("*.foo")'
Can't locate File/Glob/bsd_glob.pm in @INC (@INC contains: /pro/lib/pe
+rl5/site_perl/5.14.2/IA64.ARCHREV_0-LP64-ld /pro/lib/perl5/site_perl/
+5.14.2 /pro/lib/perl5/5.14.2/IA64.ARCHREV_0-LP64-ld /pro/lib/perl5/5.
+14.2 .).
BEGIN failed--compilation aborted.
- or download this
$ perl -MFile::Glob=:bsd_glob -wE'say for bsd_glob ("*.foo")'
"bsd_glob" is not defined in %File::Glob::EXPORT_TAGS at /pro/lib/perl
+5/5.14.2/IA64.ARCHREV_0-LP64-ld/File/Glob.pm line 45.
...
eval {...} called at -e line 0
Can't continue after import errors at -e line 0.
BEGIN failed--compilation aborted.
- or download this
$ cpan File::Glob
:
The most recent version "1.28" of the module "File::Glob"
is part of the perl-5.26.1 distribution. ...
- or download this
perl561delta.pod:
File::Glob::glob() has been renamed to File::Glob::bsd_glob()
...
perl5260delta.pod:
L<C<File::Glob::glob()> will disappear in perl 5.30. Use C<File::Glo
+b::bsd_glob()> instead.
- or download this
use File::Glob;
my @files = File::Glob::bsd_glob ("*.txt");