Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 65717
Status: resolved
Priority: 0/
Queue: DateTime-Locale

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

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



---- use DateTime; my $cldr = DateTime::Locale->load('en'); my $weekdays = $cldr->day_format_abbreviated(); my $sun = pop @$weekdays; print join ',', @{$cldr->day_format_abbreviated()}; ---- Shouldn’t the DateTime::Locale methods return a copy of the array? It doesn’t seem right that manipulating the return of day_format_abbreviated() should affect the result of future invocations of that function.