On Wed Jul 07 17:16:30 2010, justincase wrote:
Show quoted text> If passing in a large string of xml, it would be more efficient to pass
> it as a scalar ref.
parse is just a call to XML::Parser::Expat's parse, which only accepts a
scalar, not a scalar ref. So I don't think that allowing passing a
scalar ref will improve things that much, as parse would need to
de-reference the string to pass it to the real parsing sub anyway.
__
mirod