Skip Menu |
 

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 70545
Status: open
Priority: 0/
Queue: autodie

People
Owner: Nobody in particular
Requestors: oleg [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.10
Fixed in: (no value)



Subject: Undefined subroutine Module::xxx when xxx exists in the CORE namespace
Download (untitled) / with headers
text/plain 448b
Here is a simple examle which works good without autodie and dies with message "Undefined subroutine &Config::Simpliest::read called" when using autodie: package main; my $cfg = Config::Simpliest::read("/tmp/t.txt"); package Config::Simpliest; use strict; use autodie; sub read { my $fname = shift; open my $fh, $fname; my %cfg; while (<$fh>) { chomp; my ($k, $v) = split /\s*=\s*/; $cfg{$k} = $v; } close $fh; return \%cfg; }
Download (untitled) / with headers
text/plain 306b
On Sun Aug 28 05:06:24 2011, OLEG wrote: Show quoted text
> Here is a simple examle which works good without autodie and dies with > message "Undefined subroutine &Config::Simpliest::read called" when > using autodie: > > [...]
Seems related to github issue #11[1]. ~Niels [1] https://github.com/pjf/autodie/issues/11


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.