Hello GotToBTru,

Thank you again for your time and effort replying back to my question. Well I tried a few times to play around with the perl debugger, it seems to be something really good. But to be honest someone needs to spend some time to get use to it, it is not the easiest thing to play around.

Well ase you said I did my research and unfortunately the foreach my $Ubuntu_ip .... was not the error because it was printing normally.

So the next step I thought that I was not able to close the fileHandles so I used die conditions instead of warnings for debugging at least. My assumption was wrong again, then I start printing the process step by step manually and I noticed that I was passing empty values on my objects and I was not able to understand why.

Then as I final step I remember that when I was passing a value to an object I had to use reference to the value. So when I used references where was needed it worked perfectly.

I guess the process would have been extremely faster with a debugger instead of doing it manually, thank you for the proposal I will try to start applying it from now on.

Seeking for Perl wisdom...on the process of learning...not there...yet!

In reply to Re^4: Use of uninitialized value $selector in split at /usr/local/share/perl/5.18.2/Net/OpenSSH/Parallel.pm line 141. by thanos1983
in thread Use of uninitialized value $selector in split at /usr/local/share/perl/5.18.2/Net/OpenSSH/Parallel.pm line 141. by thanos1983

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.