in reply to Re^2: Error: Use of uninitialized value $item in concatenation (.) or string at...
in thread Error: Use of uninitialized value $item in concatenation (.) or string at...

You might find Data::Dumper helpful. Try adding the following to the end of your script:

use Data::Dumper; # you could put this at start of script print Dumper(\@all_matches);

This will print your data structure in a fairly easy to understand format (see the documentation for details). It might help you to find and understand what is undefined.

  • Comment on Re^3: Error: Use of uninitialized value $item in concatenation (.) or string at...
  • Download Code

Replies are listed 'Best First'.
Re^4: Error: Use of uninitialized value $item in concatenation (.) or string at...
by jonc (Beadle) on Jun 11, 2011 at 02:41 UTC
    This was very helpful! I will use it to debug from now on! ...After I read all it can do. Thanks!