CC: | ZEFRAM [...] cpan.org |
Subject: | Fails with Carp 1.32 |
As per subject. I'm not sure whose bug it is. I see that Carp 1.32 is localizing $! so you cannot get at the $! that happens within Carp.
The test failing is test 5 in t/02_parse_file.t which goes like
eval { $p->parse_file('./t/not_found') };
ok $! == Errno::ENOENT;
Within the eval the relevant line executed is:
my $fh = IO::File->new($path, $opt->{utf8} ? '<:utf8' : 'r') or croak $!;
I'm CC'ing Zefram, maybe he can shed some light on the plans about Carp and $!.
HTH && Thanks,