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

What is a hint file?
When I try to run p2e.pl it errors out looking for a hint file.

C:\Perl>p2e.pl c:\1work\perl\exe_test.pl -o c:\1work\exe_test.exe

Hints file not found at C:/Perl/site/lib/App/Packer/Frontend/ModuleInfo.pm line 28. B::Module::Info,modules_used use failed with 255 saying: Undefined subroutine &B::Module::Info::compile called at C:/Perl/lib/O.pm line 11.

BEGIN failed--compilation aborted. Writing 'c:\1work\exe_test.exe' unable to find loader at C:/Perl/site/lib/App/Packer/Backend/DemoPack.pm line 228.

Any help would be appreciated.

Replies are listed 'Best First'.
Re: p2e.pl
by Old_Gray_Bear (Bishop) on Sep 27, 2005 at 17:42 UTC
    From the CPAN docs on ModuleInfo:
    * informations Some modules use hard to detect techniques, for example they req +uire other modules dynamically (i.e. require "$foo.pm"), or use dynam +ic loading through non-standard modules. For this reason <App::Packer::Frontend::ModuleInfo> uses an hints file +. An hints file looks like this: [prerequisites] tk=<<EOT ^Tk:: Tk EOT [skip] foo=<<EOT Foo Foo::Bar EOT xyz=<<EOT Xyz::Dummy EOT [Module::Name] modules_used=<<EOT My::Module Your::Module EOT uses_dynamic_loading=1 The first section lists module prerequisites: each entry has the form: name=<<EOT pattern prereq1 prereq2 EOT Where the entry name is arbitrary. The second section lists modules to be skipped. The entry name is arbi +trary.

    ----
    I Go Back to Sleep, Now.

    OGB