Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

PerlApp -x option

by chinman (Monk)
on Jan 23, 2002 at 19:16 UTC ( #140901=perlquestion: print w/replies, xml ) Need Help??

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

Hey,

I have a question concerning using PerlApp with the -x option on Win32. I would like to exclude the Perl56.DLL from the executable, since I have several scripts to package up as separate executables, and including the DLL makes for a big-ass file. If I use the -x option I know I will have to have the Perl56.DLL on the target machine. My question is, will I need to register that DLL or can I just place it in the same directory as the executable.

Regards, chinman.

Replies are listed 'Best First'.
Re: PerlApp -x option
by gav^ (Curate) on Jan 23, 2002 at 20:12 UTC

    Nope, just make sure it is somewhere in the path (I prefer the windows\system32 dir to keep things tidy).

    You will probably need to add a -a=config as an option to make sure that config.pm is included, or you need to distribute it with your script. I consider this broken behaviour but Activestate don't agree with me :)

    A great (and free) installer that might come in handy is NSIS. I use this to package my scripts to send to clients.

    Hope this helps...

    gav^

      gav^,

      Cool, thanks for the info! I checked out the NSIS installer, too. I definitely think I can use that as well.

      regards,

      chinman

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://140901]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2022-10-05 22:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (25 votes). Check out past polls.

    Notices?