in reply to Strange Behavior with XML::Simple when pulling info out of an XML file
I bet if you used strict and warnings, you'd have a message from perl telling you about the undeclared variable @datasource. I'm guessing that since you're getting 0, telling you it's empty. You're using a different variable ($datasource) in your for loop.
...roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Strange Behavior with XML::Simple when pulling info out of an XML file
by lunchlady55 (Initiate) on Nov 27, 2010 at 00:28 UTC | |
by Marshall (Canon) on Nov 27, 2010 at 13:48 UTC |