Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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


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 avoiding work at the Monastery: (8)
As of 2016-10-25 16:52 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (325 votes). Check out past polls.