Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Perl
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 12th, 2009, 10: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.
 
Old August 13th, 2009, 04:31 PM
Authorized User
 
Join Date: Aug 2009
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.
 
Old August 19th, 2009, 11:22 PM
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





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.