Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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"; }

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://916628]
help
Chatterbox?
[Your Mother]: ...Come on you King of the Juice...
[Your Mother]: I actually know his kids.
LanX has to go/
[Your Mother]: King Herod's song (Mike D'Abo performed, I think)
[Eily]: I'm leaving too, bye!

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2017-03-27 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.