473,217 Members | 2,001 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,217 software developers and data experts.

Installing Perl in Vista!

Hello, Guys I'm TOTALLY new at programming (in fact i HATE it) but i heard so much good things about Perl (that its also EASY) i decided to start with it.

But I'm having trouble installing it on Windows Vista, i used the website below and i thought i installed Perl using the MSI installer below.

But to no avail i can't even get the simplest (Hello World example) of programs to run via the Command Prompt. Even though I'm able to use the perldoc command via the Command Prompt and get the expected results.


http://www.activestate.com/store/download.aspx?prdGUID=81fbce82-6bd5-49bc-a915-08d58c2648ca

Btw I'm using the online book Beginning Perl by Simon Cozens as a guide

I'd love for someone/anyone to help me out.

Thanks!!!!!!
Sep 4 '07 #1
3 10675
numberwhun
3,509 Expert Mod 2GB
First, Welcome to TSDN!!! Second, excellent choice deciding on Perl.

As for your issue, I don't have any experience with Vista (thankfully) but I would think that Active State would have ported it over already. If you can run perldoc, then there should not be any reason your script(s) won't run.

Do this, post your code here ( enclosing it in code tags) and also please post how you are trying to execute your script.

As for the text you are studying, I have that book and it is very good, but I much prefer "Learning Perl, 4th Edition" as it is a great beginners book for Perl and highly coveted by the community. Others will mention the camel book, but it is mostly a function reference (which you get get through perldoc anyway) and I think that Learning Perl does a much better job of explaining certain things. Although, please don't discount the Camel book as it is still a very handy reference as well.

Regards,

Jeff
Sep 4 '07 #2
KevinADC
4,059 Expert 2GB
I've not tried installing perl on a Vista box yet but I would assume the standard Windows version of activestate perl would be the one to try. Activestate makes no mention of Vista on the perl download/system requirements page. But on windows to invoke a perl program from the command prompt you must use the path to perl or chdir to the perl executable:

c:\perl\bin\perl.exe nameofscript.pl

if you add perl to the command prompt you can invoke perl by name only:

perl nameofscript.pl

if you do further configurations of windows, which I have never done, you can get perl scripts to run just by typing the name and extension of the perl file at the command prompt:

nameofscript.pl


Windows does not use the shebang line which is typically the very first line of a perl program:

#!c:\perl\bin\perl.exe

You can put anything there and windows will ignore it. You must use one of the methods above to run your perl programs from the command prompt.
Sep 4 '07 #3
Thank you numberwhun and KevinADC i truly appreciated your response. I got back home in the evening today i proceeded to giving it a shot again,and it works now.

I read your recommendations and i was just about replying when i decided i should check through the book i mentioned, thats when i realized i omitted the whole file naming thing. (my filename was hello1.plx.txt rather than hello1.plx.) so i made the correction and it works now. This is one of the major reasons why i don't have the patience for programming; stupid human errors.

In fact i was so sleepy and i said before i go to bed I'll give an update on my status after i could convince myself i had tried everything. Now that i got it working my sleepy eyes are no longer sleepy, i guess this is the highs and lows of being a programmer! even though i cannot call myself that yet.

But thanks again for your responses, it was truly appreciated.

:)
Sep 5 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Padraig | last post by:
Hi all, Just a quick question... when I try to install Python on Windows Vista Beta 2 the installer seems to hang after I select the destination folder, saying that it will "return when it has...
11
by: Don | last post by:
QUESTIONS: 1. Has anyone figured out how to successfully install the Office 97 Pro Service Release 2 patch in Vista? 2. Has anyone successfully installed an Office 97 Pro CD (SR2 version) in...
17
by: merrily | last post by:
Read in one forum the question someone asked after successfully (sort of) installing Picture It 2000 on new computer with Vista. Will this person or any other help me accomplish this install on...
12
by: jcor | last post by:
Hi, I'm using Ubuntu 7.04. I'm writing a sript that sends files via ftp for several destinations. So far I used Net::FTP and it worked fine. My problem is that I need to send files via SFTP...
11
by: DavidW | last post by:
The application installed okay, but attempted installation of SP1 produces an error 1606 ("Could not access network location VS Developers (cannot create group)"). It's hard to believe that any...
0
by: Peter Van Peborgh | last post by:
I have an app that is built in Access 2002 and packaged with its runtime. When installing it in a Vista PC/laptop, several dialog boxes pop up that require specific answers for the app to install and...
2
by: Tam | last post by:
Im running into problems installing either VS 05 or 08 on a Vista Premium 64 bit machine and, ahem, it isnt going sweetly. When installing i get an "Error 1935.An error occured during the...
2
by: sbettadpur | last post by:
Hiiii > > I have installed mysql , Active perl 5.10 successfully but > Template-GD: ppm install Template-GD > PerlMagick: ppm install PerlMagick > SOAP-Lite: ppm install SOAP-Lite > ...
3
by: techtonator | last post by:
Hi All, I wonder why I bought the Vista Home Premium 64 bit laptop (perhaps only the 64 bit thing lured me :) :( ) because I am unable to do anything really useful on the machine. Here is another...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.