Skip Menu |

This queue is for tickets about the File-Slurp CPAN distribution.

Report information
The Basics
Id: 68071
Status: resolved
Priority: 0/
Queue: File-Slurp

People
Owner: cwhitener [...] gmail.com
Requestors: luckymart [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 9999.16
Fixed in: (no value)



Subject: Export fails after File::Slurp module loaded
use strict; use File::Slurp; # if we comment this line above, no errors occurs package Bcheck; use Acheck qw/check/; 1; package Acheck; use Bcheck; use Exporter; use vars qw/@ISA @EXPORT $AUTOLOAD/; @ISA = qw/Exporter/; @EXPORT = qw/check/; sub check { print "\nYep!\n"; } 1; use Acheck; print $File::Slurp::VERSION; # 9999.16 error: "check" is not exported by the Acheck module
someone else reported a more serious but possibly related bug which is in Exporter. the order of things in a use line makes a difference when using :tags. this is fixed but untested (i need an earlier Exporter.pm) and unreleased.
Hi Everyone, Our tests don't seem to indicate that this is an issue any longer. Some of the tests include an embedded class that use Exporter. If it is, in fact, still an issue due to tags, then let's track the issue in the Exporter queue. Thanks, Chase