close


寫程式常會用到的比較操作符 這裡會列出整數和字串的比較操作符,方便寫程式時可以查詢 ^^

Perl

描述

 註解

< 

小於

Less than

> 

大於

Greater than

==

等於

Equal to

<=

小於等於

Less than or equal to

>=

大於等於

Greater than or equal to

!=

不等於

Not equal to 

整數比較操作符

 

Perl

描述

 

lt

小於

Less than

gt

大於

Greater than

eq

等於

Equal to

le

小於等於

Less than or equal to

ge

大於等於

Greater than or equal to

ne

不等於

Not equal to !=

字串比較操作符

 

arrow
arrow
    全站熱搜

    yuanann 發表在 痞客邦 留言(0) 人氣()