| parrotcode: Perl 6 Control functions | |
| Contents | Language Implementations | Perl6 |

src/builtins/control.pir - Perl 6 Control functions

multi Control::Basic::exit ( Int $status = 0)
$status to the calling environment. multi Control::Basic::nothing ()
our Num multi Control::Basic::sleep ( Num $for = Inf )
$for seconds. Implementations are obligated to support subsecond resolutions if that is at all possible. multi Control::Basic::eval ( Str $code, Grammar :$lang = CALLER::<$?PARSER>)
$code as if it were code written in $lang. The default is the language in effect at the exact location of the eval call.$code returns, or undef on error.
|
|
|