Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 117880
Status: resolved
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: pause [...] datademons.com
Cc:
AdminCc:

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



Subject: $Data::Dumper::vars are changed globally.
Date: Thu, 15 Sep 2016 21:39:28 -0400
To: bug-Template-Toolkit [...] rt.cpan.org
From: Justin W <pause [...] datademons.com>
When Data::Dumper is instantiated by this module, it changes the values of $Data::Dumper variables globally. This leaves them in an inconsistent state for other modules throughout the application that uses it. A better use would be to either use Data::Dumper as an object, or at least local()ise any changes to its variables for the duration of its run.
Ticket migrated to github as https://github.com/abw/Template2/issues/136