Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: XML Parser question

by tobyink (Abbot)
on Sep 20, 2012 at 11:22 UTC ( #994633=note: print w/ replies, xml ) Need Help??


in reply to XML Parser question

It's a hack, but it looks like you should be able to "teach" XML::RAI::Item about new fields like this:

$XML::RAI::Item::XMap->{my_author} = [qw( jf:author )];

... and then just use $_->my_author.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'


Comment on Re: XML Parser question
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994633]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2014-09-30 20:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (383 votes), past polls