[ create a new paste ] login | about

Link: http://codepad.org/Y3AWrBdT    [ raw code | output | fork ]

Perl, pasted on May 10:
1
2
3
4
5
6
7
8
eval {
  print STDERR "goodbye";
  exit 255;
  print "This line will not be executed.\n";
};
if ($@){
    print STDERR "OUCH: $@";
}


Output:
1
goodbye


Create a new paste based on this one


Comments: