Hi,
I know the basics of perl and really need a dummies guide (simple steps) to get the following working. I came across the code below and downloaded the Twig.pm and Xpath.pm files into C:\Perl\lib (Windows machine) from CPAN and I cannot get the code to compile. Can someone give me guidance with ABC (simple) steps to follow as to what I need to download (links appreciated) and what I need to copy where to get this to work. Alternatively if someone has got a perl to CSV function that is written simple Perl that would be appreciated. Thank you very much.
use XML::Parser;
use XML::Twig;
use AnyData;
my $input_xml = "test.xml";
my $output_csv = "test.csv";
$flags->{record_tag} = 'ITEM';
adConvert( 'XML', $output_file_xml, 'CSV', $output_csv, $flags );