You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
> 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
The text was updated successfully, but these errors were encountered:
Migrated from rt.cpan.org#70545 (status was 'open')
Requestors:
From [email protected] on 2011-08-28 09:06:24
:
From [email protected] on 2013-10-13 10:21:15
:
The text was updated successfully, but these errors were encountered: