|There's more than one way to do things|
Re^6: Extracting tagged data from a XML fileby davorg (Chancellor)
|on Sep 01, 2004 at 09:39 UTC||Need Help??|
Ok, here's the thing. Perl is really good at tasks like this one, but you have to use the right tools. Perl has modules for extracting data from XML documents, but they are external modules and you'll need to install them in order to use them.
It makes no sense for someone to give you a task but to then prevent you from using the correct tools. That's like saying "cook me a meal, but don't go to the shops to buy any more ingredients". It's just ridiculous.
And it seems that they do sanction the installation of external modules. Your alternative solution uses XML::Dumper which isn't part of the standard Perl installation.
To be honest, if I found myself working somewhere that put artificial barriers like that in my way, I'd seriously consider finding alternative employment.
"The first rule of Perl club is you do not talk about