View Single Post
Old 11-22-2003, 06:29 AM   #9 (permalink)
ratbastid
Darth Papa
 
ratbastid's Avatar
 
Location: Yonder
Here's the short version of How to Run Perl on a Windows machine!

First, download the latest version of ActiveState's ActivePerl from HERE. ActiveState is the company that maintains the latest Perl port for Windows. They tend to lag a version or two behind the latest release for *nix, but for a beginner it won't matter a whit.

You'll get a .exe installer. Run it. It'll install some stuff at (by default) c:/perl, most importantly, a Perl executable at c:/perl/bin/perl.exe. AND it'll associate the .pl file extension with that executable, which means that if you double-click a .pl file, it'll launch a terminal window (a lot like the MS-DOS prompt) and execute your script.

So now you can edit .pl files in notepad or wordpad (or one of a dozen editors BETTER than notepad or wordpad--syntax coloring and parathesis-balancing are wonderful things), save, and double-click to execute. Neat, hunh?
ratbastid is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76