codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
class Catcher def self.catch yield end end class NoOp def self.catch end end def try yield NoOp rescue Catcher end try{ p :ok }.catch{ p :fail } try{ something }.catch{ p :fail }
Private
[
?
]
Run code