Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: XML::SAX::ExpatXS - stop parsing?

by ikegami (Pope)
on Jul 25, 2011 at 21:58 UTC ( #916628=note: print w/ replies, xml ) Need Help??

in reply to XML::SAX::ExpatXS - stop parsing?

How about

die "DONE\n"; ... if (!eval { $parser->parse_string($tree); 1 # No exception }) { die $@ if $@ ne "DONE\n"; }

Comment on Re: XML::SAX::ExpatXS - stop parsing?
Download Code
Replies are listed 'Best First'.
Re^2: XML::SAX::ExpatXS - stop parsing?
by Jaap (Curate) on Jul 25, 2011 at 22:43 UTC
    Hmm why didn't i think of that? Is that stuff safe with mod_perl?
      die in one thread and process does not affect other threads or processes.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2015-11-28 22:04 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls