Thread Log Handler und mehr: STDOUT, STDERR, warnings umleiten
(5 answers)
Opened by bloonix at 2006-11-10 10:00
@tinita
Ich dachte, dass mit $SIG{__DIE__} = \&_die_handler($self); eine Subref uebergeben wird, so wie mit $SIG{__DIE__} = \&_die_handler; Das die Routine ausgefuehrt wird, damit hab ich nicht gerechnet. Mit $SIG{__DIE__} = sub { _die_handler(@_, "bar foo") }; funktioniert es! Danke!\n\n <!--EDIT|opi|1163412033--> What is a good module? That's hard to say.
What is good code? That's also hard to say. One man's Thing of Beauty is another's man's Evil Hack. View full thread Log Handler und mehr: STDOUT, STDERR, warnings umleiten |