Tuesday, October 16, 2007

Using Perl with Windows

It appears that a lot of people don't have any idea how to run a perl program under Windows. Perl runs just about anywhere and Windows is no exception. The easiest way, and the way I recommend, is to download ActiveState's free Windows Perl distribution. It is very friendly with a nice installer. Once you have it installed, the program in this post will run fine.

While you are at it, download a copy of the free Komodo Edit code editor. I have been using it a lot lately and really liking it. It is responsive and has a nice feature set. Since it provides background syntax checking and tool tips with syntax it actually makes learning perl easier. It understands quite a few file formats, so it is good for more than perl.

Labels: ,


Blogger Nabin K. Malakar said...

Job for this week end!

Wed Oct 17, 10:01:00 AM EDT  
Anonymous Anonymous said...

OK, as a non-techie guy, which download do I need from ActiveState?


Wed Oct 17, 12:45:00 PM EDT  
Blogger Aman - The lost kid! said...

Awesome.. thanks for the great post!

Wed Oct 17, 12:54:00 PM EDT  
Blogger Yaakov said...


You need download the Windows (x86) MSI installer. It will install like an ordinary application.

Wed Oct 17, 01:02:00 PM EDT  
Blogger Daniel said...

It's connected by USB, I dunno if that's got something to do with anything?

Thu Oct 18, 04:30:00 PM EDT  
Blogger Dan said...

I tried running the program with ActivePerl, but all I get is a command prompt that pops up for less than a second, and immediately closes. How do I run this thing?

Thu Oct 18, 05:43:00 PM EDT  
Anonymous Anonymous said...

Ive installed the program, just dont know what else to do. Anybody care to help me out here?

Thu Oct 18, 07:23:00 PM EDT  
Anonymous Anonymous said...

Had the same trouble myself. Just create a text file with the perl script and save somewhere and run the command line 'perl C:\myscript.txt ip address "MY MESSAGE"'

Fri Oct 19, 08:45:00 AM EDT  
Blogger Jeorry Balasabas said...

Do you need to edit the perl script before you run it? Or does it prompt you for the variables

Fri Oct 19, 03:10:00 PM EDT  
Anonymous Anonymous said...

I found this this site just surfing around, and became very interested. Would anyone be willing to post a completely idiot-proof, step-by-step guide to pulling this off? I am pretty ignorant to many programming terms, etc. but am willing to learn. Anybody help this dummy out??

Mon Oct 22, 12:50:00 PM EDT  
Blogger Yaakov said...

I don't have time to write a detailed how-to, however, Google knows about compiled Windows applications that can set the printer messages.

I have not mentioned any here because I cannot endorse and application (I can't see what's in there and while I am sure the majority of people aren't malicious it seems unwise to recommend something potentially harmful with not way to trust it.)

If you search, you will find stuff and can make your own decision.

Mon Oct 22, 12:55:00 PM EDT  
Anonymous Anonymous said...

Excellent. Install activestate, run from a cmd prompt and have some fun!

Tue Apr 01, 10:13:00 AM EDT  

Post a Comment

Links to this post:

Create a Link

<< Home