关闭

The undef values in Perl

标签: perl
317人阅读 评论(0) 收藏 举报
分类:

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.

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:176883次
    • 积分:3097
    • 等级:
    • 排名:第11586名
    • 原创:106篇
    • 转载:224篇
    • 译文:0篇
    • 评论:2条
    文章分类