A very EASY and FREE way for ANYONE to write their first computer program in TEN MINUTES.

This instructable is for people that think that programming is some sort of magical thing that you need expensive programs or high tech skills to do. Hopefully this instructable will remove the veil from their eyes to show them that it is easy and accessible to anyone with a computer. If you want to learn more, buy a book. The 'Sam's Teach Yourself ... in 30 days' books are good.

Step 1: get the necessary stuff

we'll be programming in the Perl programming language because it's very easy to use and free. Also, you can easily integrate it with the internet, etc.

So, you'll need a 'Perl Interpreter' to understand the code you type. Get ActivePerl (a Perl interpreter) here:


click download, enter fake name, etc
If using windows download the MSI, if it doesn't work download the AS package instead.

once downloaded, install it (just double click it, then use all the default options in the install).
All friends Have you known a shop momslovembtshoes.com? My friend and I bought some products from them last week. We are very satisfied with all the products and the service that they given to us. The products are beautiful and lower price And the sales girls are so cute and passion Come with me to have a happy shopping time from momslovembtshoes.com
I love perl.. I used to write many perl scripts for interfacing a GPS with google maps and MirC.<br>I use a program called OptiPerl.<br>Almost a WYSIWYG<br>:0)
RJL makes trojans in Delphi and MS C++ sometimes C# studio and even Visual studio
the green dino's leg in the last frame is dislocated. I recommend getting him medical attention immediately.
or he needs to wee really badly
He needs to wee so badly he dislocated his leg.<br />
A few years ago, I learned Perl while developing an application in it to conduct and analyze an on-line survey for my graduate degree. It was very intense, and took a lot of debugging especially due to Perl's non object-orientation. Consequently, I haven't used Perl since then. If I were to learn to use another "web-oriented" programming language, it definitely wouldn't be Perl. Use a programming language which was developed as an object-oriented language from the start and it should have excellent debugging tools too.
Object-orientation was introduced on version 5.6, 5.10 is the newest version.<br />
hey does active perl work with vista
this is good but you should add how to write more complex programs
his idea of a complex program is probably... bye world
not quite,.. but close,.. I write programs that interface animal brains with robotic actuators and sensors
oh blizkrieg....i think he just destroyed u 100 times over
i have a tut on how to do this "a better tut on how to script in perl"
i'll check that out! this one didn't work for me... i'm using 5.10 something or other, and dos doesn't recognize the command to run the script... damn
this looks cool but i have a mac. do u know how to do this type of thing on a mac?
iMacs have integrated Linux capabilities search for Terminal.app I don't know about Perl, but I know for sure you can do Python
Perl is also part of the package of Mac OS X
Search around, there are many free alternative programs for many coding languages out there for the mac, do a google search.
I like the Sam's Teach Yourself C in 21 Days. Unfortunately, that and its sequel are no longer published.
Thanks! Awesome Instructable. I always wanted to program, but I'm lazy. This helped... It could walk a blindman with no hands through a "Hello, World!".
TextPad works good for Java (C+) You can run, compile, and it's FREE You download it through SunJava
you're totally right, Sam's is a great series I also like For Dummies, but they're a little expensive LIBRARY!
Hi, great instructable i think its good that you showed us how to do this, even if there is a better way(who cares). But i dont see why people are being evil about your instructable.
I have the sams teach your self book and it sucks and explains bugger all.
If you install ActivePerl correctly (add perl.exe to the system path), you do not need to run your programs from C:\perl. I would *definitely* create a directory to test in rather than putting my Perl programs in c:\perl, where ActiveState installs perl.<br/>
how does one "add perl.exe to the system path". And subsequently how does that allow one to put programs in other directories (I never bothered in the past so I don't know how)
for god sakes! go to dos prompt and type setpath
on older system one added it to the autoexec.bat but one is not sure how it is done these days with cmd.com
On Windows 2000 or XP you do the following. right click on "My Computer" click on Properties click on the Advanced tab click on Environment Variables select Path from the bottom frame and click on Edit Add the path to the folder where perl.exe is (eg. c:\perl) to the end of the variable name seperated by a ; (semi colon) from the previous entries.
you an learn how to mnake more advanced scripts in my tut "a better tut on how to script in perl"
the \n makes the next line that you print print out on another line and #!\user\bin\perl allows your perl interpeter to go in to interactive mode the same,reason that you need >>> in python
You should think about finding a professional to do the work for you ;)
programming is tedious, but easy. I've written a lot more than hello world programs and in more languages than most professionals have used.
lol.. go apply for a job at microsoft.... tell them... THE BEST PART ABOUT HIRING ME IS.... I CAN MAKE HELLO WORLD PROGRAMS in C#, visual basic, C++, C, JAVA.
For goodness sakes! Just because this guy posts an Instructable about making a hello world program you think that that is the extent of his programming knowledge?
Well, I've been programming since 7th grade, making that 4 1/2 years (61/2 if you can count a graphing calculator in 5th grade!:), and have learned BASIC, c++, java, ADA, and some assembler, and now can add perl to my list after picking it up after reading your instructable. Thank you.
<em>WOW!</em> Nice job.<br/>
Sorry about that, hit the post comment before I was done typing. Long story short, why perl over python or VBScript? Perl is probably the hardest to read and definately has the weakest set of system tools of the three. Obviously I am partial to Python myself, but again- why not VBScript? This tutorial seems geared towards the Windows programmer and VBScript is both easy to use and comes built in to windows. <shrugs> seems an odd choice.
You say VBScript comes with Windows? How should I access this? Are there any tutorials for using it?
My favorite perl reference: <a rel="nofollow" href="http://www.steve.gb.com/perl/index.html">http://www.steve.gb.com/perl/index.html</a><br/>
before i am temped to post more comments pointing out your idiocy..... a lot of people are pointing it out also.. except for the people that dont know the fact that making something say helloworld is easier that you make it..... so since so many have pointed it out... go think about your instructable for a moment... why is it helpful?? nothing about HOW and WHYS of it.. just type this in.. you just have to have it.. thats not very clear... so you should just edit it instead of replying to every negative comment with a insult.. eh? how bout that for thought?
I think you need to have sex
why would you want hello world to show up in your cmd? ...... and you should just go and get net beans or visual studio .. instead of using things like perl
thanks retard, try reading the 'note' right above.
why.. your welcome.. no no you shouldnt thank me.. i must thank you for telling me how to make something that says.. hello world??!!! and why even use perl? if you want it that simple you can just make one using windows notepad that only requires about 1 min.. installing crappy out of date software.. no? am i wrong? "#!/usr/bin/env perl is some crap you have to put at the start of all your programs." that isnt some crap you have to put at the start of all your programs.. .what if your programming with different software? nothing as S#*%y as perl.. eh? and what is your next instructable going be about??? how to make cmd say bye bye world?
uhm, doosh, ... I did use notepad

About This Instructable


55 favorites


Bio: www.leevonk.com
More by leevonk: WolfPack: Large-Dog Carrier Vortex-Drive Micro ROV (ROVVor) Squintasaurus: cybernetic dynamically adjustable vision enhancement system
Add instructable to: