Types Expressions Variables Reserved Words (表达式类型变量保留字).pdf
文本预览下载声明
Predefined Variables Ruby arguments
$! Exception information -c Check
$@ Array of backtrace -d Debug
$ String of last match -e One Line
$` String left of last match -h Help
$‘ Str right of last match -n gets loop
Types Expressions Variables $+ Last group of last match -rL require L
12345 if expr [then] local $N Nth group of last match -v verbose
elsif expr
123.45 @instance $~ Info about last match -w warnings
[then]
1.23e-4 else @@class $= Case insensitive flag -y comp debug
end
0xFF00 CONSTANT $/ Input record separator
0b01100 unless expr $\ Output record separator Reserved Words
[then]
1..5 else Operators and $, Output field separator alias
end Precedence
1...5 $. Line number of last file and
‚a‘..‘z‘ expr if expr :: $ Default output BEGIN
‚a‘...‘z‘ expr unless [] $_ Last input line of string begin
expr **
‚string sq‘
显示全部