Well, when sending a filename argument, I get this error:
The only thing I know how to parse is a string. You have to fetch the data for me yourself. at /usr/local/lib/perl5/site_perl/5.8.8/XML/Simple.pm line 290
Hmmmm.
I have no idea - it's actually line 292 - for some reason all my error reporting has been off today, so I didn't pay much heed and confirmed the actual line with print statements:
$tree = $sp->parse_uri($filename);
is the actual line.