in reply to Re: Nested While Loop Problem
in thread Nested While Loop Problem
But if I print outside of the if statement I get the redundancies. And if there are then this command will repeat against the remote host multiple times for the same directory.if ($fsline =~ /(.:\\.*)/){ $dir = $1; print "$dir\n"; #works fine here }
$badhost = "$logdir\\BADHOST.csv"; open (BADHOST,">>$badhost"); $dest = "$dir\\$file"; #will print redundancies here $dest =~ s/[\s]//g; $md5sumtmp = `rctrlx.exe $target /u "domain\\username" /p "password" / +c md5sum.exe /app md5sum.exe $dest`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Nested While Loop Problem
by kennethk (Abbot) on Feb 06, 2009 at 15:49 UTC | |
by Smith (Initiate) on Feb 06, 2009 at 16:26 UTC |