in reply to Prototype Mismatch Errors
Update: LanX's seems | is the better answer. Don't bother with the rest of this.
I understand this is because these functions are begin declared multiple times?
From this, it seems you may be right. But that prompts the question, "Why are you 'begin declaring' subroutines at all?" Can you show a Short, Self-Contained, Correct Example of such declarations that represents what is in your code (and produces the same error message)?c:\@Work\Perl\monks>perl -wMstrict -le "BEGIN { sub Dumper (); } ;; use Data::Dumper; " Prototype mismatch: sub main::Dumper () vs none at C:/Perl/lib/Exporte +r.pm line 67. at -e line 1 c:\@Work\Perl\monks>perl -wMstrict -le "BEGIN { sub Dumper; } ;; use Data::Dumper; "
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Prototype Mismatch Errors
by pryrt (Abbot) on Aug 07, 2018 at 20:20 UTC | |
by AnomalousMonk (Archbishop) on Aug 07, 2018 at 20:32 UTC |