iea has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

does anybody know if it is possible to use devel::trace within a compiled perl script?

I am using perlapp and i would like to have a trace output.

Thanks

Replies are listed 'Best First'.
Re: Trace compiled perl script
by Anonymous Monk on Mar 14, 2010 at 10:36 UTC
    What is a "compiled perl script?" If you're talking about PAR, PerlApp, Perl2Exe, they aren't compiled, and Devel::Trace could work
      OK Sorry. I am using Perapp. How can i make Devel::Trace work with perlapp. Thanks for your reply
        I've never used the PDK nor PerlApp, but I checked the perlapp synopsis. I would add Devel::Trace to your script as you normally would. Then, from the command line, you'll need to use the --add option to get perlapp to pickup on Devel::Trace. I'd do this:
        perlapp myscript.pl --add Devel::Trace
        .