in reply to Perl & Simple::XML

Since you already have use Data::Dumper in your script, you could just add this line, and the contents of $data should become clear:
print Dumper( $data );
The output from that call would show you that you reach Author entries like this:
my @authors = @{$data->{Article}{AuthorList}{Author}}; print Dumper( \@authors );
(Updated -- ( -> { -- as per AM's replies. Sorry about that!)

Replies are listed 'Best First'.
Re^2: Perl & Simple::XML
by karavay (Beadle) on Oct 06, 2007 at 03:29 UTC
    you can try and use namespaces in yor xml - it will help you to avoid clashes diring xml parsing. XML-Parser supports namespaces so there shouldnt be a problem. namespaces are like lexical variabe solution in perl (my).
Re^2: Perl & Simple::XML
by Anonymous Monk on Oct 06, 2007 at 07:25 UTC
    Hi, I believe what you suggested probably works, but it says that I have a syntax error in the line: my @authors = @($data->{Article}{AuthorList}{Author}}; I tried several things but nothing doesn't seem to work... Pls advice...
      @{} not @(}