Perl Dev Kit

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Have any one familiar with Perl Dev Kit?

I want to compile my script to executable.
So I can run this command "game" anywhere on command windows. Maybe
set some environment variable?

Any help>

Currently, I have to run where game where it is located with such as
in the C drive otherwise I get this error.
'game' is not recognized as an internal or external command, operable
program or batch file.

I can hack it and manually put it in C:\Windows then I can use game
anywhere I want.


Re: Perl Dev Kit

Quoted text here. Click to load it

You have converted your perl script into a Windows .exe, so you now have
a file c:\game.exe?

Quoted text here. Click to load it

Learn how to use your OS. You need to put it in a directory that is
named in the %PATH% environment variable; if you like, you can add a new
directory to %PATH% and put it there.

I believe you can also create a 'game.exe' key somewhere appropriate in
the registry with the full path, but I don't really know.

Quoted text here. Click to load it

C:\Windows is typically in %PATH% already.


It will be seen that the Erwhonians are a meek and long-suffering people,
easily led by the nose, and quick to offer up common sense at the shrine of
logic, when a philosopher convinces them that their institutions are not based
on the strictest morality.  [Samuel Butler, paraphrased]

Re: Perl Dev Kit

Quoted text here. Click to load it

Then why don't you add the location of your script to the search path?

Quoted text here. Click to load it

What a concept!
May I suggest to learn how to use the operating system you are using?


PS: nothing of this has anything to do with Perl but would happen with
any other program just the same way.

Re: Perl Dev Kit

Quoted text here. Click to load it

A slick user should IMNSHO know that working as Administrator is not a
smart thing to do.

You can set your PATH variable to the directory where game.exe is stored.

John - Hacking & Hiking in Mexico

Perl help in exchange for a gift:

Site Timeline