"be consistent" | |
PerlMonks |
Re: trouble,, need help!by cdarke (Prior) |
on Apr 25, 2012 at 07:21 UTC ( [id://967003]=note: print w/replies, xml ) | Need Help?? |
You have two variables called $element, which is confusing to say the least. One is a global which you set to an empty string, and one is set in the subroutine extract_information which you are setting from the passed arguments. That $element is undef because no arguments are passed.
In Section
Seekers of Perl Wisdom
|
|