in reply to Re: Use of uninitialized value $selector in split at /usr/local/share/perl/5.18.2/Net/OpenSSH/Parallel.pm line 141.
in thread Use of uninitialized value $selector in split at /usr/local/share/perl/5.18.2/Net/OpenSSH/Parallel.pm line 141.
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Use of uninitialized value $selector in split at /usr/local/share/perl/5.18.2/Net/OpenSSH/Parallel.pm line 141.
by GotToBTru (Prior) on Jan 29, 2015 at 17:11 UTC | |
by thanos1983 (Parson) on Jan 29, 2015 at 23:10 UTC | |
by poj (Abbot) on Jan 30, 2015 at 09:16 UTC | |
by thanos1983 (Parson) on Jan 30, 2015 at 12:29 UTC |