Update: Sorry, I read too fast your question. I'm OT, but you don't have to d/L perl-5-2.14.2.tar (port command do it for you) and you don't have to Configure
FIY, my $PATH
echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/loca
+l/bin:/usr/X11/bin
Original (wrong) answer:
First, you have native perl with mac osx: perl v5.10.0 on mac osx 10.6.8
(no need to use macports).
But, if want to proffit of macports packages system, you can use a perl package:
perl5 @5.12.3 lang/perl5
perl5.10 @5.10.1 lang/perl5.10
perl5.12 @5.12.3 lang/perl5.12
perl5.14 @5.14.1 lang/perl5.14
perl5.8 @5.8.9 lang/perl5.8
Pick your choice. You can also choose some variants:
perl5.14 has the variants:
dtrace: Build with DTrace probes
shared: Build shared perl library
threads: Build with thread support
universal: Build for multiple architectures
Remember you'll have 2 perls:
/usr/bin/perl (native)
/opt/local/bin/perl (macports)
Of course, you can also install other distributions or compile your own perl...
PS: Macports perl installation:
port install perl5
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.