summaryrefslogtreecommitdiff
path: root/dist/XSLoader
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-10-26 23:48:27 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-10-27 00:27:06 -0700
commit960ddb65a25642640884251e9047635391367159 (patch)
tree0f5ade890b5929461d042f07b883482b3e21840a /dist/XSLoader
parent4218a421ca4ecaf9f1ccecfe21ebd15cbf499059 (diff)
downloadperl-960ddb65a25642640884251e9047635391367159.tar.gz
File::Glob: Eliminate the doglob alias to bsd_glob
I’m referring here to CVs, not C functions. Actually, bsd_glob is the alias to doglob. doglob is no longer called, as of commit 1bb8785ab1. So this commit is actually renaming doglob to bsd_glob and removing the alias.
Diffstat (limited to 'dist/XSLoader')
-rw-r--r--dist/XSLoader/t/XSLoader.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/dist/XSLoader/t/XSLoader.t b/dist/XSLoader/t/XSLoader.t
index bf02e4821a..aab0af1fe7 100644
--- a/dist/XSLoader/t/XSLoader.t
+++ b/dist/XSLoader/t/XSLoader.t
@@ -25,7 +25,9 @@ BEGIN {
my %modules = (
# ModuleName => q|code to check that it was loaded|,
'Cwd' => q| ::can_ok( 'Cwd' => 'fastcwd' ) |, # 5.7 ?
- 'File::Glob' => q| ::can_ok( 'File::Glob' => 'doglob' ) |, # 5.6
+ 'File::Glob' => q| ::can_ok( 'File::Glob' => # 5.6
+ $] > 5.014
+ ? 'bsd_glob' : 'doglob') |,
$db_file => q| ::can_ok( $db_file => 'TIEHASH' ) |, # 5.0
'Socket' => q| ::can_ok( 'Socket' => 'inet_aton' ) |, # 5.0
'Time::HiRes'=> q| ::can_ok( 'Time::HiRes' => 'usleep' ) |, # 5.7.3