The undef values in Perl

原创 2013年12月02日 15:24:31

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转载undef简介 defined函数简介

(一)undef简介  变量在第一次赋值前有一个特殊值undef,按照Perl来说就是: “这里什么也没有,请继续” 。如果这里的“什么也没有”是一些“数字” ,则表现为 0。如果是“字符串” ,...

Values in tension ethics away from home

  • 2015年07月20日 22:37
  • 3.85MB
  • 下载

【设计分享】perl中根据values数字值大小排列hash

perl中根据values数字值有可能是相同,而

Take Control Of Web Control ClientID Values in ASP.NET 4

http://www.4guysfromrolla.com/articles/031710-1.aspx Web controls in ASP.NET also have ID value...

Re: How to use values of properties file in selenium code - msg#02103

Great points Mark, thanks. That will be a good reasoning of disadvantages to the approach. Also w...
  • aerchi
  • aerchi
  • 2012年10月18日 10:39
  • 1932

INSERT小记(insert into select和not in,values括号里不能放select)

记一次初学愚蠢经历,如果未来发现更好的方法,也算留念

SQL NOT IN constraint and NULL values

Stack Exchange log in | careers | chat | meta | about | faq Stack Overfl...

Editing Null Data Values in a Cell with JavaFX 2

In an earlier article I gave a complete break down of how to write a generic editable table cell. I'...

Simple ABAP - Change allowed values in a characteristic by BAPI_CHARACT_CHANGE

Simple report to add an allowed (CHAR) value to a characteristic using the BAPI method BAPI_CHARACT_...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:The undef values in Perl
举报原因:
原因补充:

(最多只允许输入30个字)