https://bugzilla.redhat.com/show_bug.cgi?id=1419473 Bug ID: 1419473 Summary: DateTime::Duration 1.39 is broken. Fixed in version 1.42 Product: Fedora Version: 25 Component: perl-DateTime Severity: high Assignee: paul@xxxxxxxxxxxx Reporter: andrew.jones11235@xxxxxxxxx QA Contact: extras-qa@xxxxxxxxxxxxxxxxx CC: iarnell@xxxxxxxxx, paul@xxxxxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, steve@xxxxxxxxx Description of problem: Attempting to add a duration causes perl script to die with an unhelpful message ( see https://github.com/houseabsolute/DateTime.pm/issues/50 ) Version-Release number of selected component (if applicable): $ dnf provides /usr/lib64/perl5/vendor_perl/DateTime/Duration.pm Last metadata expiration check: 7:20:46 ago on Mon Feb 6 02:40:59 2017. perl-DateTime-2:1.39-1.fc25.x86_64 : Date and time object for Perl Repo : @System perl-DateTime-2:1.39-1.fc25.x86_64 : Date and time object for Perl Repo : fedora How reproducible: 100% Steps to Reproduce: $ perl -Ilib -MDateTime::Duration -e '$a=$b=DateTime::Duration->new(hours=>1, minutes=>0); $a->add($b)' Actual results: Expected a hash or hash reference but got a single object argument Expected results: No output Additional info: The URL shown in 'Description of problem' indicates that Dave Rolsky fixed it in version 1.42 -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx