Created
June 27, 2010 08:01
-
-
Save hinrik/454741 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ perl -e'$SIG{INT} = sub { warn "foo\n" }; sleep 30' | |
^Cfoo | |
$ perl -e'$SIG{INT} = sub { warn "foo\n" }; require Net::DNS; sleep 30' | |
^CSignal SIGINT received, but no signal handler set. | |
The above was on Perl 5.13.2. It works fine on 5.10.1 with the same version of Net::DNS (0.66). Also, after greping through Net::DNS's source, it doesn't look like it ever modifies $SIG{INT}. Possible Perl bug? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment