Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2018-06-19 08:52 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.