Hello GotToBTru,

Thank you for your time and effort reading and replying to my question. Well to be honest I am not really familiar with debugging Perl. I searched online and I found that I should execute the code like perl -d main.pl. When I do that the script stops at line 10 and gives me the following error when I type l:

Loading DB routines from perl5db.pl version 1.39_10 Editor support available. Enter h or 'h h' for help, or 'man perldebug' for more help. main::(main.pl:10): our %WARNS = (); DB<1> l 10==> our %WARNS = (); 11: my %dir_all = (); 12: my %sudo_passwords = (); 13 14: my $confFile = "conf.ini"; 15: my $dirFile = "directories.ini"; 16 17: my $objectFiles = FiLeS->new( "confRef" , "dirRef" ); 18: my $refHashDir = $objectFiles->getFiles( $dirFile ); 19: my $refHashconf = $objectFiles->getFiles( $confFile ); DB<1>

How can I proceed from that point. I tried all commands in debug help.

I have added all missing modules just in case that someone wants to experiment.

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

In reply to Re^2: 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.