Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: diagnostics pragma and PAR/pp

by tsee (Curate)
on Jun 18, 2006 at 17:24 UTC ( #556127=note: print w/ replies, xml ) Need Help??

in reply to diagnostics pragma and PAR/pp

Hi rvosa,

I just installed PAR 0.94 from CPAN on a freshly installed linux x86_64. Then I tried pp with the following script:

#!/usr/bin/perl use strict; use warnings; use diagnostics; print "foo\n";

And used the following command to package it:

pp -o t -c -B

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.)


Comment on Re: diagnostics pragma and PAR/pp
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://556127]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2016-05-25 07:54 GMT
Find Nodes?
    Voting Booth?