![]() |
|
more useful options | |
PerlMonks |
Re: diagnostics pragma throwing a compile-time error in Cygwin-Perlby cavac (Prior) |
on Apr 16, 2025 at 11:41 UTC ( [id://11164734]=note: print w/replies, xml ) | Need Help?? |
Hmm, strange. According to the source code log, i'm using "diagnostics" in many of my programs since at least October 2018, which by my reckoning was Perl 5.24. Never seen that one before. Could you do me a favor? Since i can't reproduce the error, could you test the following and post the output? Just to make sure that i can update CPAN and make diagnostics optional.
Until you find a solution, you can safely delete the "diagnostics" line. In fact, you can reduce the whole Contains.pm to:
I mean, technically if you plan to make no errors calling the function, you can strip the whole thing down even further (untested and not recommended):
PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP Also check out my sisters artwork and my weekly webcomics
In Section
Seekers of Perl Wisdom
|
|