word #### #!/usr/bin/perl use strict; use XML::Twig; my $fileLocation = "test.xml"; open(SOURCE, "< $fileLocation") or die "Couldn't open $fileLocation for reading: $!\n"; my $twig = new XML::Twig; $twig->parse($fileLocation); #### syntax error at line 1, column 0, byte 0 at /usr/lib/perl5/XML/Parser.pm line 187 at ./test.pl line 14