You need to install Perl (if you haven't). If you're on Windows, and have
never programmed before, hopefully, you have downloaded Activestate's
binaries, - they have an MSI to install everything.

If you install using Activestate's MSI file, .pl will already be associated
with the perl.exe program.

To make a program, you can actually start with notepad - but you'll probably
want to download one of the free text editors that will at least give you
syntax highlighting if you program for very much.

To run your first program, in the Notepad window, type or paste this:

#! Perl

print "Hello world\n";


Save that as helloWorld.pl, then from your dos window, change to the
directory where you saved that, and type:

helloWorld.pl

If everything is properly associated, it will run, and you are on your way.
If no associations are created, then just type:

perl helloWorld.pl

and it will run.

That'll get you your first program run, and from there, have fun learning.

Steve H.

-----Original Message-----
From: Thomas Kienberger [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 03, 2002 6:40 AM
To: [EMAIL PROTECTED]
Subject: absolute beginner has questions


Hallo, first: I´ve never programmed, bevore.
Now i want to start programming with perl. I´ve made the download of a
standard perl version for windows. And now I have no idea how to start with
a first small programm. I have bought a book about perl, but there is no
describtion of how to start. Do i have to write the programm sentences in a
normal editor ? How can I make it run with the perl "compiler". Do I have
double-click on perl.exe and then write open "name of the editor-file" or
how does it work ?
If i would know how this first steps would be to do, then i think i could
start working with my book "introduction in Perl for win 32". Please help me
!!!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to