alias.inc

来自「source of perl for linux application,」· INC 代码 · 共 13 行

INC
13
字号
# alias subroutine testing, included by sub_ali.t and mbi_ali.tmy $x = $CL->new(123);is ($x->is_pos(), 1, '123 is positive');is ($x->is_neg(), 0, '123 is not negative');is ($x->as_int(), 123, '123 is 123 as int');is (ref($x->as_int()), 'Math::BigInt', "as_int(123) is of class Math::BigInt");$x->bneg();is ($x->is_pos(), 0, '-123 is not positive');is ($x->is_neg(), 1, '-123 is negative');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?