I've recently been given some new assignments at work that hit on the weakest part of my Perl knowledge - IPC/ RPC type code. I'll be writing codeto communicate w/ routers, switches, etc. to copy configuration files, check device status, etc.

The good part - I get to add some new tools to my belt. I know that I'll be using a lot of IPC::Open3 for the rcp calls, but I'd like to come up with some ways to play with IPC::Open3 before I start writing production code. (I'd also be interested in hearing about other ways to do similar tasks.)

I'm at a bit of a loss to think of ways to test/experiment, though. I think I could use IPC::Open3 to communication with the webserver I have running here on my home box, but that's only one way. ( And, there are other modules better suited to the task.)

I'm almost out of my league with the new assignments, but how else am I going to learn how to do this stuff if I don't actually do it?

BTW - I've read perlipc dozens of times now, but it doesn't really sink in for me until I bang out the code and deal with all the headaches of actually writing functional code.


In reply to Advice: Network code experiments by geektron

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.