Skip to content

Instantly share code, notes, and snippets.

@mattn
Created February 3, 2009 08:03
Show Gist options
  • Save mattn/57397 to your computer and use it in GitHub Desktop.
Save mattn/57397 to your computer and use it in GitHub Desktop.
えっ!それ動くよ!
package MyFilter;
use strict;
use warnings;
use Filter::Simple;
FILTER { s{ \$SIG\{INT\{ }{ \$SIG\{INT\} }x; };
1;
use MyFilter;
$SIG{INT{ = sub {
unlink $tmpfile;
exit 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment