Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-TimeZone CPAN distribution.

Report information
The Basics
Id: 76971
Status: resolved
Priority: 0/
Queue: DateTime-TimeZone

People
Owner: Nobody in particular
Requestors: ed.shrock [...] livetext.com
Cc:
AdminCc:

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



Subject: names_in_category method broken in scalar context
DateTime::TimeZone->names_in_category( $category ) is broken when called in scalar context. -------------------- use DateTime::TimeZone; use Data::Dumper; my $names = DateTime::TimeZone->names_in_category( 'Antarctica' ); print Dumper( $names ); -------------------- Output: $VAR1 = [ [ 'Casey', 'Davis', 'DumontDUrville', 'Mawson', 'McMurdo', 'Palmer', 'Rothera', 'Syowa', 'Vostok' ] ]; Note the extra set of brackets.