Trimbach is right - I used CPAN and installed Net::Telnet on my OSX machine with no problem. Here's what I did:
- su to root, first by setting a password using the netinfo method, the sudo method, or any of the other methods
- type perl -MCPAN -e shell
- if this is the first time to run CPAN, you will be asked a bunch of configuration questions. All defaults seemed to work ok for me, but I changed the cache location from /var/root/.cpan to /private/var/root/.cpan, but I don't know if that is necessary
- when you get to the CPAN prompt, type install Bundle::libnet, which includes Net::Telnet
I also successfully (?) installed Bundle::CPAN (i.e.updated CPAN), libwww-perl (which includes LWP), and DBI so far. And I followed
larsen's suggestion to join the OSX-perl mailing list, which is a good place to ask if anyone else successfully installed a particular module.
By the way, I'm using a fresh installation of OSX, with no alterations to perl...
update: I should add that I
did install the developer's CD also...
Hope this helps...
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.