in reply to Perl and XML

Off-topic, and anal-retentive on my part. Rather than
$FIELDS = { 'AA' => { 'Description' => '', 'Type' => 'Module', 'File' => 'Sample1.pl', }, 'BB' => { 'Description' => 'Initiator', 'Type' => 'Methods', 'File' => 'Sample1.pl', }, 'CC' => { 'Description' => 'Destructor', 'Type' => 'Methods', 'File' => 'Sample2.pl', 'Values' => { '1' => 'Ignore', '2' => 'Retry', '3' => 'Abort' } },
please consider
$FIELDS = { 'AA' => { 'Description' => '', 'Type' => 'Module', 'File' => 'Sample1.pl', }, 'BB' => { 'Description' => 'Initiator', 'Type' => 'Methods', 'File' => 'Sample1.pl', }, 'CC' => { 'Description' => 'Destructor', 'Type' => 'Methods', 'File' => 'Sample2.pl', 'Values' => { '1' => 'Ignore', '2' => 'Retry', '3' => 'Abort' } } },
This shows you the closing curley-brace you forgot after the 'Values' block.

It doesn't really matter what convention you choose, but pick a standard and keep to it.

Replies are listed 'Best First'.
Re^2: Perl and XML
by Bugz (Acolyte) on Apr 29, 2008 at 17:38 UTC
    Hi apl,
    Thank you for pointing out the err on my part. I have updated the same and it was here that I made the mistake. so the problem's still open.
    Bugz