Subject: | Breaks XML::Parser |
use File::Sync;
use XML::Parser;
my $parser = XML::Parser->new();
$parser->parsefile("test.xml");
Will give :
Can't locate object method "read" via package "FileHandle" at
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi/XML/Parser/Expat.pm
line 469.
It works fine without the "use File::Sync"
When using File::Sync + XML::Parser, I need to add use FileHandle