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

I'm probably not doing enough research, but...

How can I get YAML to compile into a PAR executable with pp? It gives me

Can't locate object method "new" via package "YAML::Loader" at YAML.pm + line 82, <$IN> line 1.
at runtime.

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re: YAML and PAR pp
by syphilis (Archbishop) on Sep 29, 2006 at 23:27 UTC
    Perhaps:
    pp -o script -M YAML::Loader script.pl

    Cheers,
    Rob
Re: YAML and PAR pp
by Khen1950fx (Canon) on Sep 29, 2006 at 22:15 UTC
    You might want to try tkpp---the GUI frontend to pp. Type tkpp at the shell prompt, and the GUI will pop up. In the "Add Modules" box, type in YAML. Then, after the other elements are filled out correctly, click "Build". See:

    tkpp

      Thanks for the suggestion.

      BTW, how long does tkpp take to load? pp already takes too long to run as it is :)

      -QM
      --
      Quantum Mechanics: The dreams stuff is made of