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

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

From:
Michael G Schwern via RT
Date:
July 23, 2005 01:49
Subject:
[perl #4990] CORE::GLOBAL support broken in 5.6.0
Message ID:
rt-3.0.11-4990-118188.5.03823217546845@perl.org
> [dsharp@urbana.css.mot.com - 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
advertised.

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

Loading DB routines from perl5db.pl 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 "*"
  DB<1> 

As does 5.5.4, 5.8.6 and bleadperl.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About