# New Ticket Created by Will Coleda # Please include the string: [perl #37817] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37817 >
File: languages/tcl/lib/builtins/return.pir (pending another ticket) Spec: http://www.tcl.tk/man/tcl8.5/TclCmd/return.htm Tests: languages/tcl/t/cmd_return.t (exists, no tests for new functionality) Implementation: Currently return only handles [return] and [return value]. Needs to support -code, -errorcode, and -errorinfo. See Also: languages/tcl/lib/builtins/howto.pod Notes: There are also references on the spec for -options (needs [dict]) and -level (needs some design consideration). Feel free to avoid this for now.