|Just another Perl shrine|
Re: diagnostics pragma and PAR/ppby tsee (Curate)
|on Jun 18, 2006 at 17:24 UTC||Need Help??|
I just installed PAR 0.94 from CPAN on a freshly installed linux x86_64. Then I tried pp with the following script:
And used the following command to package it:
This works flawlessly and prints "foo\n".
Does this work for you? What version of Perl, PAR and Module::ScanDeps do you have? Does upgrading PAR and Module::ScanDeps to the current version help?
Also, I have to tell you that using "diagnostics" in a module (i.e. in library code) is a bad idea. One should always turn that on in the application code since it shouldn't be used in production code. (I mean, honestly, will the end user benefit from the verbosity? No.)