Skip Menu |

This queue is for tickets about the bareword-filehandles CPAN distribution.

Report information
The Basics
Id: 93591
Status: open
Priority: 0/
Queue: bareword-filehandles

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

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



Subject: Conflicts with autodie
This pragma not work at all, when autodie is used in the same scope. Testet on perl 5.18.2.
CC: undisclosed-recipients:;
Subject: Re: [rt.cpan.org #93591] Conflicts with autodie
Date: Wed, 02 Apr 2014 18:52:18 +0200
To: bug-bareword-filehandles [...] rt.cpan.org
From: ilmari [...] ilmari.org (Dagfinn Ilmari Mannsåker)
"Dmytro Zagashev via RT" <bug-bareword-filehandles@rt.cpan.org> writes: Show quoted text
> This pragma not work at all, when autodie is used in the same scope. > Testet on perl 5.18.2.
This is not surprising, since autodie replaces the calls to the builtins that this module checks with its own functions, which are not compiled in the scope of this pragma, so are not affected. To make this work, autodie would have to detect that bareword::filehandles is in scope, and propagate it to its replacement functions. -- "The surreality of the universe tends towards a maximum" -- Skud's Law "Never formulate a law or axiom that you're not prepared to live with the consequences of." -- Skud's Meta-Law