您的位置:首页 > 产品设计 > UI/UE

The undef values in Perl

2013-12-02 15:24 120 查看
Varibels have the special undef value before they are first assigned, which is Perl's way of saying " nothing here to look at -- move alog, move alog."

If you use this "nothing" as a "numric something" , it will act like zero;

if you use this "nothing" as a "string something", it will act like nuil.

But it's better to definit the variables.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐