Skip Menu |

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 70545
Status: resolved
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
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; }
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
Ticket migrated to github as https://github.com/pjf/autodie/issues/98