note
cdarke
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 <code>extract_information</code> which you are setting from the passed arguments. That $element is undef because no arguments are passed.
966999
966999