Perrmoss has asked for the wisdom of the Perl Monks concerning the following question:
Hail Noble Monks,
(This is my first post)
I am an engineer, who has decided to write a program in Perl (in other words I am not an experienced coder). I want the program to work on Mac and Windows, which is why I chose Perl, and I am working on the prototype on my Mac (OS X 10.4.10). I have some Mac-specific questions.
I have got to the point when I need to be able to install modules; DateTime in particular. I have attempted an install in terminal, but I dont think it was successful. Here is what I did...
Open terminal Type sudo perl -MCPAN -e shell Input password Type install DateTime
When I try to find DateTime in the finder, it appears in...
In an earlier attempt I also attempted to install ActiveState.usr/local/ActivePerl-5.8/lib/ActiveState-5.8/DateTime.pm
Odd thing is, when I type perl -v in terminal, it says I have perl version 5.8.6. I note that ActiveState has perl version 5.8.8
Do I have two versions of perl?
Has DateTime arrived at the right place?
Can I write a 'use DateTime;' type of line in my program (program says cant locate DateTime.pm in @INC)?
Can someone provide a step-by-step guide on how the install should be done?
Thanks in advance
20070922 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Lost in Mac OS X
by Corion (Patriarch) on Sep 20, 2007 at 08:53 UTC | |
|
Re: Lost in Mac OS X
by graff (Chancellor) on Sep 20, 2007 at 10:24 UTC | |
|
Re: Lost in Mac OS X
by bruceb3 (Pilgrim) on Sep 20, 2007 at 08:45 UTC | |
|
Re: Lost in Mac OS X
by kwaping (Priest) on Sep 20, 2007 at 15:57 UTC |