Skip Menu |

This queue is for tickets about the Lingua-31337 CPAN distribution.

Report information
The Basics
Id: 2159
Status: resolved
Priority: 0/
Queue: Lingua-31337

People
Owner: CWEST [...] cpan.org
Requestors: beatnik [...] quickndirty.org
Cc:
AdminCc:

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



Subject: bug in Lingua::31337 - @IMPORT missing
Lingua::31337 0.01 perl v5.8.0 built for i386-linux-thread-multi Red Hat 8.0 - Kernel 2.4.18-24.8.0 The POD describes that loading Lingua::31337 automagically poisons the namespace with the text231337 subroutine. However, it's only in @EXPORT_OK and in %EXPORT_TAGS. Therefor it's not automagically exported and you'll have to do it explicitly if you want to comply with the POD. I fixed the code instead of the POD. The patch *should* fix that by adding @EXPORT in vars and stuffing it with data from %EXPORT_TAGS.
--- 31337.old.pm 2003-02-26 21:39:53.000000000 +0100 +++ 31337.pm 2003-02-26 21:38:52.000000000 +0100 @@ -5,7 +5,7 @@ require Exporter; use POSIX qw[ceil]; -use vars qw[@ISA %EXPORT_TAGS @EXPORT_OK $VERSION %CONVERSIONS $LEVEL]; +use vars qw[@ISA %EXPORT_TAGS @EXPORT_OK @EXPORT $VERSION %CONVERSIONS $LEVEL]; @ISA = qw(Exporter); @@ -13,6 +13,8 @@ @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); +@EXPORT = ( @{ $EXPORT_TAGS{'all'} } ); + $VERSION = '0.01'; $LEVEL = 5;