in reply to Printing array in scalar context

The "." (Concatenation operator) imposes a scalar context.
Some alternatives, to show the content of the array are:
print "@content\n\n"; # Array is interpolated print @content, "\n\n"; # Comma maintains array context imposed by "pr +int"

            "XML is like violence: if it doesn't solve your problem, use more."