Skip Menu |

This queue is for tickets about the Geography-Countries CPAN distribution.

Report information
The Basics
Id: 46451
Status: new
Priority: 0/
Queue: Geography-Countries

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

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



Subject: non-localized attribution to $_ in main:: produces unwanted side-effects
Issue was found when importing Catalyst::Plugin::Geography started breaking Catalyst with: Could not load class (__END__) because : Can't locate __END__.pm in @INC originally, Catalyst loaded plugins via: Class::MOP::load_class($_) for @plugins; $_ is being set to __END__ due to: while(<DATA>){ chomp; last if $_ eq '__END__'; Catalyst has been fixed to avoid $_ and dodge the issue, however, it is recommendable to localize $_ in order to prevent future trouble.