+ exec 'go', qw/build -compiler gc/, $name when 'GOLANG';
+ exec 'go', qw/build -compiler gccgo/, $name, when 'GCCGO';
+ exec 'ghc', qw/-DONLINE_JUDGE -Wall -O2 -o/, $basename, $name when 'HASKELL';
+
+ when ([qw/PERL PYTHON/]){
+ open IN, '<', $name;
+ open OUT, '>', $basename;
+ print OUT "#!/usr/bin/perl\n" if $_ eq 'PERL';
+ print OUT "#!/usr/bin/python\n" if $_ eq 'PYTHON';
+ print OUT while <IN>;
+ close OUT;
+ close IN;
+ chmod 0755, $basename;
+ exit
+ }