[ale] Issue with sub name and XML::Parser
Fletch
fletch at phydeaux.org
Wed Dec 1 09:48:07 EST 2004
>>>>> "Christopher" == Christopher Fowler <cfowler at outpostsentinel.com> writes:
[...]
Christopher> Perl does not like 'sub param-name'
Nope, gotta be _?[A-z0-9_]+. You might can hack it by assigning a
coderef to a glob:
*{"param-name"} = sub { ... }
Or use the Stream style instead. Or look at XML::SAX.
http://search.cpan.org/~msergeant/XML-SAX-0.12/SAX/Intro.pod
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org| Vincent, you should cease askin' \ o.O'
| scary questions." -- Jules =(___)=
| U
More information about the Ale
mailing list