Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Error: Use of uninitialized value $item in concatenation (.) or string at...

by ig (Vicar)
on Jun 10, 2011 at 20:37 UTC ( #909201=note: print w/ replies, xml ) Need Help??


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
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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://909201]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-12-21 03:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (102 votes), past polls