Skip Menu |
 

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

Report information
The Basics
Id: 37390
Status: new
Priority: 0/
Queue: Encode-Detect

People
Owner: Nobody in particular
Requestors: cdavaz [...] gmail.com
Cc:
AdminCc:

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



Subject: Missing "require Exporter;" in Encode::Detect::Detector
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Charset: utf8
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1215156976-19613-1"
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 217
Download (untitled) / with headers
text/plain 217b
If you run test2.pl you will see that Perl can't find Exporter. You must add "require Exporter;" to the module (I added it before the @ISA) but I'm not sure if it matters where. See the docs on Exporter for more info.
Subject: test2.pl
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1215156969-19603-1"
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: text/x-perl; name="test2.pl"
Content-Disposition: inline; filename="test2.pl"
Content-Transfer-Encoding: binary
Content-Length: 90
Download test2.pl
text/x-perl 90b
#!/usr/local/bin/perl -w use strict; use warnings; use Encode::Detect::Detector; exit 0;


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.