Hi friends, I am trying to use Net::Netrc which is available from libnet-1.19.I wrote a script which uses Net::FTP module from libnet-1.19 and does ftp of files from a host to the target system. But i have to use Net::Netrc for login and then do ftp of files ? can you help me with the sample code. In most of the sites and even i man page for Net::Netrc i see that there is info given only till login and how to i use the object that is created using $mach = Net::Netrc->lookup('some ip'); but what next after connection ? how do i use the object $mach that is created? Please help. thanks in advance Veera

In reply to using Net::Netrc by srini_veera

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.