develooper Front page | perl.perl5.porters | Postings from July 2005

[perl #4990] CORE::GLOBAL support broken in 5.6.0

Michael G Schwern via RT
July 23, 2005 01:49
[perl #4990] CORE::GLOBAL support broken in 5.6.0
Message ID:
> [ - Wed Dec 20 04:02:32 2000]:
> Importing subroutines into the CORE::GLOBAL package does not work.
> The perlsub documentation makes reference to the File::DosGlob
> module.  I've tested that the "GLOBAL_glob" export option for this
> module does not work.

Although I don't have a 5.6.0 to check with, 5.6.2 seems to work as

$ perl5.6.2 -dwe '           use File::DosGlob 'GLOBAL_glob';  print
glob "*"'
Default die handler restored.

Loading DB routines from version 1.07
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(-e:1):              use File::DosGlob GLOBAL_glob;  print glob "*"

As does 5.5.4, 5.8.6 and bleadperl. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About