Closed p5pRT closed 20 years ago
When attempting to install Pod::Checker under perl 5.00563 I discovered that
dd:dcd$ perl -e '{ glob } ()' syntax error at /usr/local/lib/perl5/5.00563/File/Glob.pm line 1\, near "package File::Glob" Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.
It appears that my makefile defines PERL_EXTERNAL_GLOB\, and I see ths special code in Perl_ck_glob that seems to want to load File::Glob
The following seems to work perl -MFile::Glob -e '{ glob } ()'
This led me to build the makefile using perl -MFile::Glob Makefile.PL
same problem occurs in v5.5.640
dd:dcd$ perl -e '{ glob } ()' syntax error at /usr/local/lib/perl5/5.5.640/File/Glob.pm line 1\, near "package File::Glob" Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.
It also doesn't occur in 5.004_03 or 5.005_57
On Wed\, 2 Feb 2000\, David Dyck wrote:
Your e-mail has been received by the Perl Bug Squashing Team.
Ticket ID '[ID 20000202.014]' has been assigned. Please include this ticket ID in the subject line of any followup messages related to this issue.
On Wed\, 02 Feb 2000 17:48:02 PST\, David Dyck wrote:
same problem occurs in v5.5.640
dd:dcd$ perl -e '{ glob } ()' syntax error at /usr/local/lib/perl5/5.5.640/File/Glob.pm line 1\, near "package File::Gl ob" Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.
It also doesn't occur in 5.004_03 or 5.005_57
The glob() is not the issue here. C\<{ use lib }> and suchlike have always been broken in Perl\, it appears.
Here's a fix.
Sarathy gsar@ActiveState.com
[Quoting Gurusamy Sarathy\, on February 7 2000\, 08:06\, in "Re: [ID 20000202.014"]
dd:dcd$ perl -e '{ glob } ()' syntax error at /usr/local/lib/perl5/5.5.640/File/Glob.pm line 1\, near "package File::Glob"
The glob() is not the issue here. C\<{ use lib }> and suchlike have always been broken in Perl\, it appears.
Nevertheless\, shouldn't "perldoc -f glob" mention that it uses File::Glob?
-- Johan
On Fri\, 18 Feb 2000 13:57:55 +0100\, Johan Vromans wrote:
Nevertheless\, shouldn't "perldoc -f glob" mention that it uses File::Glob?
Sure\, patch welcome.
Sarathy gsar@ActiveState.com
[Quoting Gurusamy Sarathy\, on February 18 2000\, 10:19\, in "Re: [ID 20000202.014"]
On Fri\, 18 Feb 2000 13:57:55 +0100\, Johan Vromans wrote:
Nevertheless\, shouldn't "perldoc -f glob" mention that it uses File::Glob?
Sure\, patch welcome.
*** perl5.5.650/pod/perlfunc.pod~ Mon Feb 7 08:04:17 2000
--- perl5.5.650/pod/perlfunc.pod Fri Feb 18 19:40:55 2000
***************
*** 1917\,1922 ****
--- 1917\,1926 ----
If EXPR is omitted\, C\<$_> is used. The C\<E\
+ Earlier implementations of the glob function used the Unix shell to
+ perfom the globbing\, but as of Perl version 5.6 the standard module
+ C\<File::Glob> is used instead.
+
=item gmtime EXPR
Converts a time as returned by the time function to a 9-element list
-- Johan
Migrated from rt.perl.org#2078 (status was 'resolved')
Searchable as RT2078$