geoffleach has asked for the wisdom of the Perl Monks concerning the following question:
Why would anyone want to do such a thing, you ask. Well, the Subs style of XML::Parser allows one to process XML while conveniently ignoring items of no interest. Works fine until you are processing an RSS feed with something like <itunes:duration>, which requires sub itunes:duration{}. There are other ways to process this, but stamps foot I want to do it with a sub!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sub foo:bar {}?
by Corion (Patriarch) on Aug 13, 2008 at 20:13 UTC | |
|
Re: sub foo:bar {}?
by AnomalousMonk (Archbishop) on Aug 13, 2008 at 23:36 UTC | |
|
Re: sub foo:bar {}?
by geoffleach (Scribe) on Aug 13, 2008 at 20:54 UTC | |
|
Re: sub foo:bar {}?
by Anonymous Monk on Aug 14, 2008 at 05:44 UTC | |
by Lawliet (Curate) on Aug 14, 2008 at 06:17 UTC | |
by Anonymous Monk on Aug 14, 2008 at 06:32 UTC | |
|
Re: sub foo:bar {}?
by Jenda (Abbot) on Aug 14, 2008 at 10:52 UTC |