Skip Menu |

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 114798
Status: resolved
Priority: 0/
Queue: autodie

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

Bug Information
Severity: (no value)
Broken in:
  • 2.25
  • 2.26
  • 2.29
Fixed in: (no value)



Subject: "no autodie" may result in "Undefined subroutine called" errors
The following script fails with "Undefined subroutine called at ... line 5." with newer autodie.pm versions. Experiments show that 2.23 is fine with this construct, and 2.25 and later versions fail: #!perl { no autodie; } system 'true'; __END__
I've also just come across this. It's a bug which seems likely to have pretty wide-reaching breaking affects.
On Sat May 28 12:25:56 2016, SREZIC wrote: Show quoted text
> The following script fails with "Undefined subroutine called at ... > line 5." with newer autodie.pm versions. Experiments show that 2.23 is > fine with this construct, and 2.25 and later versions fail: > > #!perl > { > no autodie; > } > system 'true'; > __END__
Recently stumbled upon in Perl 5 blead: https://rt.perl.org/Ticket/Display.html?id=133130
On Fri Apr 20 22:13:35 2018, JKEENAN wrote: Show quoted text
> On Sat May 28 12:25:56 2016, SREZIC wrote:
> > The following script fails with "Undefined subroutine called at ... > > line 5." with newer autodie.pm versions.
Show quoted text
> Recently stumbled upon in Perl 5 blead: > https://rt.perl.org/Ticket/Display.html?id=133130
This is also https://github.com/pjf/autodie/issues/69 and https://bugs.debian.org/798096 . The patch there is merged upstream (since 2015-12) but has not been released to CPAN yet. Debian has been carrying the patch for over two years and no problems have been reported. -- Niko Tyni ntyni@debian.org
This was merged and closed on github so I assume this is good to close here.