On 2015-09-29 10:38, Håkan Jerning wrote: >After an upgrade to Perl 5.22 the import of Garmin FIT files stops >working, the reason is that UNIVERSAL->import has been removed in >Perl. > >This change in plugins/garmin-fit/bin/Garmin/FIT.pm solves it: >https://github.com/jeffhigham/Garmin--FIT---A-Perl-class-to-decode-Garmin-.FIT-files/pull/1
It may be added that importing from UNIVERSAL has been deprecated since Perl 5.12 in 2010. So it's probably not much use keeping it, the change mentioned above will remove the warning in Perl 5.12 to 5.20. http://perldoc.perl.org/perl5220delta.html#use-UNIVERSAL-'...'-is-now-a-fatal-error -- Håkan Jerning ------------------------------------------------------------------------------ _______________________________________________ Pytrainer-devel mailing list Pytrainer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytrainer-devel