On Nov 17, 6:04 am, [email protected] (Roderich Schupp) wrote: > On Wed, Nov 17, 2010 at 4:16 AM, Ryan A <[email protected]> wrote: > > completely new to perl here and wanting to use PAR::Packer to generate > > a stand-alone of my app for use on a remote machine. i've stumbled my > > way through the install of PAR and PAR::Packer successfully, i think. > > > to install: > > cpan> make install PAR > > cpan> make install PAR::Packer > > > but when i put "use PAR::Packer" in my script it bombs with the > > following message: > > Why do you want to "use PAR::Packer" at all? For the vast majority > of use cases a simple invocation > > pp -o my_stand_alone.exe my_script.pl > > should do it, i.e. pack my_script.pl and all modules etc it depends on into > a stand-alone executable - no programming, esp. no changes to > my_script.pl, necessary. > > Cheers, Roderich
got it! i ran that command, installed the dependencies and now have a working exe of my script! initially i was putting use PAR::PAcker in my script and running it to see if it would "compile" and that was how i was determining if it was installed successfully or not. there was just some confusion on my part on how this worked. thanks for your help!
