Perl Monk, Perl Meditation | |
PerlMonks |
Cygwin Perl upgrade broke Params::Validate.by Boldra (Deacon) |
on Mar 09, 2011 at 08:43 UTC ( [id://892158]=perlmeditation: print w/replies, xml ) | Need Help?? |
I just upgraded my perl for cygwin from 5.10.1-? to 5.10.1-5, and Params::Validate::validate changed from returning a hash of arguments (eg %args=(one=>1,two=>2)) to returning a two arrayrefs (eg %args=( 'ARRAY(0x2345dc0)' => ['one',1,'two',2'] ), ).
This naturally caused many things to break. The first error I saw was "Use of uninitialized value $id in pattern match (m//) at /usr/lib/perl5/site_perl/5.10/DateTime/Locale.pm line 62". force install Params::Validate fixed the problem.
Back to
Meditations
|
|