mavericknik has asked for the wisdom of the Perl Monks concerning the following question:
Gives:use Getopt::Long; use Data::Dumper; use List::Util qw[min max]; use POSIX; use Cwd 'abs_path'; use Date::Parse; use Date::Format; print "Hello World\n";
I understand this is because these functions are begin declared multiple times? What is the best way to fix these warnings without having to go through the whole code? Is it even possible? Thanks!Prototype mismatch: sub main::strftime: none vs ($\@;$) at /pkgs/perl/ +5.14.1/lib64/5.14.1/Exporter.pm line 67. at ./trial.pl line 9 Prototype mismatch: sub main::ctime: none vs ($;$) at /pkgs/perl/5.14. +1/lib64/5.14.1/Exporter.pm line 67. at ./trial.pl line 9 Prototype mismatch: sub main::asctime: none vs (\@;$) at /pkgs/perl/5. +14.1/lib64/5.14.1/Exporter.pm line 67. at ./trial.pl line 9 Hello World
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Prototype Mismatch Errors
by LanX (Saint) on Aug 07, 2018 at 20:10 UTC | |
by haukex (Archbishop) on Aug 08, 2018 at 10:43 UTC | |
|
Re: Prototype Mismatch Errors
by talexb (Chancellor) on Aug 07, 2018 at 22:49 UTC | |
|
Re: Prototype Mismatch Errors
by LanX (Saint) on Aug 07, 2018 at 20:41 UTC | |
by hippo (Archbishop) on Aug 08, 2018 at 08:05 UTC | |
|
Re: Prototype Mismatch Errors
by kcott (Archbishop) on Aug 08, 2018 at 11:44 UTC | |
|
Re: Prototype Mismatch Errors
by AnomalousMonk (Archbishop) on Aug 07, 2018 at 20:11 UTC | |
by pryrt (Abbot) on Aug 07, 2018 at 20:20 UTC | |
by AnomalousMonk (Archbishop) on Aug 07, 2018 at 20:32 UTC |