in reply to oo code don't want to die !

hmmm...is it possible that there is a signal handler for INT inside SUB::foo? Try using USR1, INT has some pretty common uses, perhaps your catch_zap is being over written somewhere...

/\/\averick
perl -l -e "eval pack('h*','072796e6470272f2c5f2c5166756279636b672');"

Replies are listed 'Best First'.
Re: Re: oo code don't want to die !
by iza (Monk) on Nov 28, 2001 at 23:01 UTC
    no there is no signal handler in SUB::Foo - maybe i should write one in foo ? but it seemed more logical to me to catch it from the main program ...
    basically i wrote all classes (yes, foo calls other classes ...), and the only SIG{INT} is the one in the main code (the one i posted)
    where could i find some doc on USR1 ?
    anyway, thanks, many thanks for your answer :)