Goto is ugly bad bad bad code.if ($this_is_not_right) { goto_somewhere (error_code => 123, error_msg => 'this is error'); } do_something(); return; sub goto_somewhere { show_error_page(@_); exit; # ??? Or did you want to come back ??? }
In reply to Re: goto with some arguments
by BigLug
in thread goto with some arguments
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |