3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Easy Computer Programming

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

Note:
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.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Get the necessary stuff

get the necessary stuff
«
  • Perl_Download.jpg
  • perl.jpg
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:

http://www.activestate.com/Products/ActivePerl/

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).
« Previous StepDownload PDFView All StepsNext Step »
69 comments
1-40 of 69next »
Nov 26, 2010. 11:00 AMWhite_Wolf says:
I love perl.. I used to write many perl scripts for interfacing a GPS with google maps and MirC.
I use a program called OptiPerl.
Almost a WYSIWYG
:0)
Apr 1, 2010. 5:05 PMshoyru_master_11 says:
RJL makes trojans in Delphi and MS C++ sometimes C# studio and even Visual studio
Jun 8, 2006. 11:29 AMradiorental says:
the green dino's leg in the last frame is dislocated. I recommend getting him medical attention immediately.
Jun 8, 2006. 11:29 AMradiorental says:
or he needs to wee really badly
Jan 11, 2010. 4:39 PMbowmaster says:
He needs to wee so badly he dislocated his leg.
Nov 5, 2006. 5:12 PMbmlbytes says:
HA!
Dec 17, 2006. 5:02 PMGolem says:
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.
Jan 11, 2010. 4:36 PMbowmaster says:
Object-orientation was introduced on version 5.6, 5.10 is the newest version.
Aug 17, 2009. 2:58 AMsaleh5139 says:
hey does active perl work with vista
Apr 12, 2008. 9:31 PMrighthandofthedevil says:
this looks cool but i have a mac. do u know how to do this type of thing on a mac?
Feb 22, 2009. 2:01 PMThe_Vinninator says:
iMacs have integrated Linux capabilities search for Terminal.app I don't know about Perl, but I know for sure you can do Python
Jul 12, 2009. 5:03 PMtinkerC says:
Perl is also part of the package of Mac OS X
Jun 8, 2008. 8:04 PMArchive555 says:
Search around, there are many free alternative programs for many coding languages out there for the mac, do a google search.
Jul 12, 2009. 5:02 PMtinkerC says:
I like the Sam's Teach Yourself C in 21 Days. Unfortunately, that and its sequel are no longer published.
May 14, 2009. 5:38 PMWarPig137 says:
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!".
Feb 24, 2009. 5:15 PMBarrettkg says:
TextPad works good for Java (C+) You can run, compile, and it's FREE You download it through SunJava
Feb 22, 2009. 2:00 PMThe_Vinninator says:
you're totally right, Sam's is a great series I also like For Dummies, but they're a little expensive LIBRARY!
Aug 28, 2007. 8:44 PMandrew101 says:
this is good but you should add how to write more complex programs
Jan 12, 2008. 7:07 AMcris1133 says:
i have a tut on how to do this "a better tut on how to script in perl"
Jul 7, 2008. 4:48 PMbengerszewski says:
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
Aug 31, 2007. 7:00 PMBLIzKrIEg says:
his idea of a complex program is probably... bye world
Jul 23, 2009. 10:39 PMdowd95 says:
oh blizkrieg....i think he just destroyed u 100 times over
May 13, 2008. 1:18 PMTJ 47065 says:
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.
May 12, 2008. 8:14 AMsmidge147 says:
I have the sams teach your self book and it sucks and explains bugger all.
Jun 7, 2006. 7:37 PMnaikrovek says:
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.
Jan 14, 2008. 5:14 PMcris1133 says:
for god sakes! go to dos prompt and type setpath
Jun 8, 2006. 11:19 AMradiorental says:
on older system one added it to the autoexec.bat but one is not sure how it is done these days with cmd.com
Jun 9, 2006. 2:55 AMBruceR says:
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.
Jan 3, 2008. 2:18 PMcris1133 says:
you an learn how to mnake more advanced scripts in my tut "a better tut on how to script in perl"
Jan 3, 2008. 2:11 PMcris1133 says:
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
Oct 11, 2006. 6:45 AMTSBob says:
You should think about finding a professional to do the work for you ;)
Aug 31, 2007. 6:59 PMBLIzKrIEg says:
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.
Dec 19, 2007. 2:19 PMmunchman says:
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?
Jan 2, 2007. 2:11 PMAstrolmonkey says:
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.
Dec 19, 2007. 2:16 PMmunchman says:
WOW! Nice job.
Jun 15, 2006. 2:35 AMg_c_c says:
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. seems an odd choice.
Nov 27, 2007. 11:30 AMBlessedWrath says:
You say VBScript comes with Windows? How should I access this? Are there any tutorials for using it?
1-40 of 69next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
80
Followers
40
Author:leevonk
www.leevonk.com