|parrotcode: Perl 6 Control functions|
|Contents | Language Implementations | Perl6|
src/builtins/control.pir - Perl 6 Control functions
multi Control::Basic::exit ( Int $status = 0)
$statusto the calling environment.
multi Control::Basic::nothing ()
our Num multi Control::Basic::sleep ( Num $for = Inf )
$forseconds. Implementations are obligated to support subsecond resolutions if that is at all possible.
multi Control::Basic::eval ( Str $code, Grammar :$lang = CALLER::<$?PARSER>)
$codeas if it were code written in
$lang. The default is the language in effect at the exact location of the eval call.
$codereturns, or undef on error.