The undef values in Perl

前端之家收集整理的这篇文章主要介绍了The undef values in Perl前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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.

猜你在找的Perl相关文章