Help!!! Newbee to win32-programming!

A

Anne-Marte

I've written a simple perl-script which is supposed to run on a
win32-platform. What exactly do I need to do to make this script run?
I get an error message saying that my script is not a valid win32
application. I'm also trying to connect to an Oracle database using
DBI. What am I doing wrong?

Anne-Marte Krogsrud
 
A

Atlantis

Anne-Marte said:
I've written a simple perl-script which is supposed to run on a
win32-platform. What exactly do I need to do to make this script run?
I get an error message saying that my script is not a valid win32
application. I'm also trying to connect to an Oracle database using
DBI. What am I doing wrong?

Anne-Marte Krogsrud

To run your script, drop to dos command line and type...

perl myscript.pl

.... obviously substitute myscript.pl as appropriate.
 
I

Ian Wilson

Anne-Marte said:
I've written a simple perl-script which is supposed to run on a
win32-platform. What exactly do I need to do to make this script run?
I get an error message saying that my script is not a valid win32
application. I'm also trying to connect to an Oracle database using
DBI. What am I doing wrong?

Anne-Marte Krogsrud

You don't say whether you installed a Perl interpreter, or if so, which one.

I use the free download from http://www.activestate.com/. Once this is
installed, all perl scripts are directly executable, so long as you use
the expected filename extension ".pl".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top