Home: Perl Programming Help: Win32 Programming Help:
Running Perl executable under DOS



ikarapet
Novice

May 7, 2009, 3:01 PM


Views: 7291
Running Perl executable under DOS

Hi all,

Though I am not sure whether this is the correct forum to ask my question, but I'll try anyways.

I want to do the folowing:

1. write the perl script in Win XP

2. convert it to executable using perl2exe SW (also in Win XP)

3. Then I need this executable file to be able to run from DOS.

SO my question is : is this scenario doable?

If so - please help me to undersatnd how can i perform this.



Thanks in advance,

Inna


FishMonger
Veteran / Moderator

May 7, 2009, 3:32 PM


Views: 7289
Re: [ikarapet] Running Perl executable under DOS

If you mean to run it on DOS 6.22 and not a cmd.exe window, then answer is no.

You should look over some of these google hits.

http://www.google.com/search?q=perl+for+DOS&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a


ikarapet
Novice

May 8, 2009, 12:09 AM


Views: 7280
Re: [FishMonger] Running Perl executable under DOS

Thanks for the reply!

So you mean in order to run Perl executables under DOS I need to write it in DOS and "compile" it in DOS or you mean Perl executable cannot be run under DOS at all?