Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > Perl
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Perl section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 12th, 2009, 11:23 PM
Registered User
 
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Getting Started

I am new to perl. I am running Windows 2000 Professional. I am doing a tutorial and I wrote my first program ‘hello world’, type .plx When I try to run it the system doesn’t know what to do with extention .plx
Is there a web site to download the necessary pieces to run .plx’s
I've been programming for 30 year mostly on midrange systems, currently IBM iSeries. I've written COBOL, RPG, CLP, Basic in school 30 years ago and a little bit of HTML. Any help is greatly appreciated.
Reply With Quote
  #2 (permalink)  
Old August 13th, 2009, 05:31 PM
Authorized User
Points: 93, Level: 1
Points: 93, Level: 1 Points: 93, Level: 1 Points: 93, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2009
Location: Moldova
Posts: 23
Thanks: 0
Thanked 2 Times in 2 Posts
Default

On Windows Perl is not included by default. You need to install it. For you, best would be ActivePerl. And use .pl extension - .plx is reserved for Perl in IIS.
Reply With Quote
  #3 (permalink)  
Old August 20th, 2009, 12:22 AM
Registered User
 
Join Date: Aug 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Assuming that you have already installed perl, you can't just run your .plx file by double-clicking it. There are 2 reasons for this:
* When you install perl, it associates the .pl extension with perl, not .plx.
* If you have your extension associated correctly, you will just see a DOS window open, display something and close before you can read it. You need to open a DOS window and type 'perl hello.plx' in order to see the results of your program (assuming that you called it 'hello.plx' and you are in the right directory).
See point 7 at the top of page 8 of this wonderful book:
http://blob.perl.org/books/beginning...145_Chap01.pdf
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get started shanebbb BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 17 December 24th, 2008 04:58 AM
Getting Started CocoKrish BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 February 5th, 2008 10:09 AM
Getting Started st3ve Javascript How-To 1 February 3rd, 2005 08:49 PM



All times are GMT -4. The time now is 01:36 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.