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
In reply to Re: Strange Behavior with XML::Simple when pulling info out of an XML file
by roboticus
in thread Strange Behavior with XML::Simple when pulling info out of an XML file
by lunchlady55
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |