in reply to Re^6: Uninitialized value in concatenation (.) or string?
in thread Uninitialized value in concatenation (.) or string?

Maybe that statement is never getting executed when $c is 5 - it's in an if statement after all. What's so special about 5?

You should just dump the entire @matchedfiles array to see what you have:

use Data::Dumper; print Dumper(\@matchedfiles);

Replies are listed 'Best First'.
Re^8: Uninitialized value in concatenation (.) or string?
by jbush82 (Novice) on May 09, 2008 at 19:13 UTC
    Nothing is special about 5, I just picked a number (row) that I knew would have the a file name and md5 associated with it. Basically that is there to just test that the matchedfiles array is holding the data it should... wich it isn't.

    This is strange... the output is as follows:

    $VAR1 = [ undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, [ [ 'g[1].gif', 'C:\\Documents and Settings\\Administrator\\Local Settin +gs\\Temporary Internet Files\\Content.IE5\\Q5E56VYH' ] ], undef, undef, undef, undef, undef, undef, undef, undef, undef,


    The undef go on a LOT longer than I showed... but 100s or even 1000s of lines, it shows the first file and directory, then goes on again.

      Bingo!


      s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}