in reply to Re^6: diagnostics: warning, deprecation, error
in thread diagnostics: warning, deprecation, error
Because my experiments say the latter.
C:\Users\pryrt>echo use Super::Duper; >> tmp.pl C:\Users\pryrt>perl tmp.pl Can't locate Super/Duper.pm in @INC (you may need to install the Super +::Duper module) (@INC entries checked: c:/usr/local/apps/strawberry/p +erl/site/lib/MSWin32-x64-multi-thread c:/usr/local/apps/strawberry/pe +rl/site/lib c:/usr/local/apps/strawberry/perl/vendor/lib c:/usr/local +/apps/strawberry/perl/lib) at tmp.pl line 1. BEGIN failed--compilation aborted at tmp.pl line 1. C:\Users\pryrt>perl use Super::Duper; Can't locate Super/Duper.pm in @INC (you may need to install the Super +::Duper module) (@INC entries checked: c:/usr/local/apps/strawberry/p +erl/site/lib/MSWin32-x64-multi-thread c:/usr/local/apps/strawberry/pe +rl/site/lib c:/usr/local/apps/strawberry/perl/vendor/lib c:/usr/local +/apps/strawberry/perl/lib) at - line 1. BEGIN failed--compilation aborted at - line 1. C:\Users\pryrt>perl -MSuper::Duper -e 1 Can't locate Super/Duper.pm in @INC (you may need to install the Super +::Duper module) (@INC entries checked: c:/usr/local/apps/strawberry/p +erl/site/lib/MSWin32-x64-multi-thread c:/usr/local/apps/strawberry/pe +rl/site/lib c:/usr/local/apps/strawberry/perl/vendor/lib c:/usr/local +/apps/strawberry/perl/lib). BEGIN failed--compilation aborted.
I obviously cannot test whether marto's unpublished fix behaves the same way.
But just because the example shows a situation in which the line number and file name aren't shown (because they are meaningless) doesn't mean that the solution proposed will actually get rid of that information when it's available.
|
|---|