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!
In reply to sub foo:bar {}? by geoffleach
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |