The problem is that Crypt::IDEA has not been updated to handle Perl 5.6's namespace changes. An error message looking like that is a dead giveaway. You didn't mention the version of Perl that you're running, but I'll eat my left hat if it's not 5.6+, and I'll eat my right hat if btrott isn't working with 5.005_03 or lower.

Solution: run perl Makefile.PL POLLUTE=1, and then re-run make.

ObNet::SSH - I got it compiled without much trouble, but ran into three separate errors on trying to connect to the three hosts on which I have ssh access:

[~/src/Net-SSH-0.01] $ perl -Iblib/lib -mNet::SSH $s=Net::SSH::->new("host1"); $s->login("xxxxx","xxxxx"); print $s->cmd("ls"); __END__ Received server public key (768 bits) and host key (1024 bits). Corrupted check bytes on input at blib/lib/Net/SSH.pm line 135 [~/src/Net-SSH-0.01] $ perl -Iblib/lib -mNet::SSH $s=Net::SSH::->new("host2"); $s->login("xxxxx","xxxxx"); print $s->cmd("ls"); __END__ Received server public key (768 bits) and host key (1024 bits). Didn't expect to get packet of type 15 at - line 3 [~/src/Net-SSH-0.01] $ perl -Iblib/lib -mNet::SSH $s=Net::SSH::->new("host3"); $s->login("xxxxx","xxxxx"); print $s->cmd("ls"); __END__ Received server public key (768 bits) and host key (1024 bits). Can't open /etc/ssh_known_hosts: No such file or directory at - line 3

I looked around the code a bit, and it looks quite impressive. I'm looking forward to being able to play with it more. Keep up the good work!

-dlc


In reply to (XS fix and first impressions) Re: New Module: Net::SSH by dchetlin
in thread New Module: Net::SSH by btrott

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.