Skip Menu |

This queue is for tickets about the LaTeX-Encode CPAN distribution.

Report information
The Basics
Id: 87908
Status: resolved
Priority: 0/
Queue: LaTeX-Encode

People
Owner: Nobody in particular
Requestors: abenson [...] obs.carnegiescience.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.091



Subject: Global symbols problem in LaTeX::Encode
Date: Fri, 16 Aug 2013 17:03:10 -0700
To: bug-LaTeX-Encode [...] rt.cpan.org
From: Andrew Benson <abenson [...] obs.carnegiescience.edu>
Hi, I'm finding a problem when I attempt to "use" the LaTeX::Encode (v0.08) module. I'm using perl v5.16.3 # perl -v This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux- thread-multi Here's the problem: # perl -e "use LaTeX::Encode"Global symbol "$encoded_char_re" requires explicit package name at /usr/local/share/perl5/LaTeX/Encode.pm line 96. Global symbol "%provided_by" requires explicit package name at /usr/local/share/perl5/LaTeX/Encode.pm line 96. Global symbol "%provided_by" requires explicit package name at /usr/local/share/perl5/LaTeX/Encode.pm line 97. Global symbol "%latex_encoding" requires explicit package name at /usr/local/share/perl5/LaTeX/Encode.pm line 98. Global symbol "%latex_encoding" requires explicit package name at /usr/local/share/perl5/LaTeX/Encode.pm line 139. Global symbol "%latex_encoding" requires explicit package name at /usr/local/share/perl5/LaTeX/Encode.pm line 139. Global symbol "%latex_encoding" requires explicit package name at /usr/local/share/perl5/LaTeX/Encode.pm line 140. Global symbol "%latex_encoding" requires explicit package name at /usr/local/share/perl5/LaTeX/Encode.pm line 140. Global symbol "%latex_encoding" requires explicit package name at /usr/local/share/perl5/LaTeX/Encode.pm line 141. Global symbol "%latex_encoding" requires explicit package name at /usr/local/share/perl5/LaTeX/Encode.pm line 160. Global symbol "%latex_encoding" requires explicit package name at /usr/local/share/perl5/LaTeX/Encode.pm line 161. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. I find that if I edit the LaTeX/Encode.pm file to move the line: use LaTeX::Encode::EncodingTable; after the line: use base qw(Exporter); then the module compiles successfully. Best regards, and thanks for mainting this extremely useful module! -Andrew. -- * Andrew Benson: http://users.obs.carnegiescience.edu/abenson/contact.html * Galacticus: http://sites.google.com/site/galacticusmodel
Fixed in 0.91