Subject: | names_in_category() doesn't return a list of names |
Module: DateTime::TimeZone 0.36
I think that the names_in_category() should use $_[1] instead of $_[0].
Unless I'm not using the method correctly, $_[0] will the the object, not the category name.
perl -MData::Dumper -MDateTime::TimeZone -e 'print Dumper [DateTime::TimeZone->names_in_category( "Europe" )];'
I'm surprised that there are no tests for this module/function.
Message body not shown because it is not plain text.