larry wall larrywallorg wed aug 06 2008 093616am 0700 jerry gay wrote dont think work perl 6 since perl 6 resumeable exceptions like c meaning c operator could ambiguous given following statement bill ack thpp ppt perl 6s current semantics c throws resumable exception handled current scope outer scope execution resume c definedness result c tested order determine whether call c yes basic problem proposal catches exceptions willy nilly uses control flow whether appropriate sympathy proposal however im currently using exceptions purpose std grammar suffering difficulty careful rethrow exception trapped wasnt one expected using semantics resumable exception thrown c c cause c invoked immediately discarding possible defined result c also question arises c doesnt handle type exception thrown c called immediately c signify exception handled assign default value cbill mind strays far meaning c adds ambiguity makes operator unusable perhaps theres room operator gives sugar bill try ack catch thpp code concise enough doesnt warrant syntactic relief well right write either bill try ack thpp bill try ack orelse thpp latter advantage setting right return value try could go far making orelse carry try semantics think appropriate solution might reduce precedence blockless trydogather etc orelse could say bill try ack orelse try thpp orelse ppt need think ramifications precedence change would make blockless rather pointless instance maybe thats worthwhile tradeoff im using noop indicate nontry might also useful try variant catches exceptions intended benign failure match maybe try way indicating severity exception wishes trap default could keyword variant adverb pragma im thinking pragma likely distribute syntactic relief nicely lexical scope case would set default catch handler could still overridden particular try block basically could turn blockless trygatherdo listops precedence point view though theyd still essentially macros seems like good thing worst means need use parens tryx need statement argument currently could write try x staring two id say parens almost feature least surprise viewpoint larry wed 06 aug 2008 100828 0700 catching exceptions operator