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.
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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |