more useful options | |
PerlMonks |
Re: "Dynamically" Accessing a HoHby dave0 (Friar) |
on Jun 02, 2005 at 15:03 UTC ( [id://462946]=note: print w/replies, xml ) | Need Help?? |
Why not just use normal hash access?
If you want the user to be able to enter their key in the format of "{depTar}{name}", it should just be a simple matter of parsing to convert that into single keys for hash access. Given that your source format is XML, XML::XPath might be worth looking at instead.
In Section
Seekers of Perl Wisdom
|
|