ChinaUnix.net
相关文章推荐:

use warnings

my @t=[split /,/]; if($t[1]=~/99/){ #使用了use warnings后程序报$t[1]未初始化的错:use of uninitialized value in pattern match (m//) at tmp.pl line 50. …………

by dl0622 - Perl - 2008-12-01 12:01:29 阅读(3471) 回复(7)

相关讨论

我无意引发否需要use strict/use warnings的争论,在这里我只是向有经验的perl用户咨询两个问题: 当你在编写有一定规模的perl程序时,你个人是否倾向于使用use strict? 在你阅读过的perl源程序中或你参与的perl项目中,是使用use strict的程序多还是不使用的多? 注意:我们在这里只讨论有一定规模的perl程序,简短的perl程序不在讨论之列。 谢谢你的回答!

by DennisRitchie - Perl - 2007-08-21 17:30:25 阅读(2767) 回复(5)

[code] open FILE, $m_building_code_file; foreach () { next if (/^#/); s/[\r\n]//g; s/\s+$//g; ($key, $value) = $_ =~ /([\s\S]*?) ([\s\S]*)$/; $key =~ s/\s//g; ## line 55 if ($key eq "") { ## line 56 ...

by kiss2003 - Perl - 2006-02-19 17:54:58 阅读(2198) 回复(6)

原文链接: http://kerneltrap.org/node/6591/print KernelTrap logo Linux: Kernel Compilation warnings By Jeremy Created 05/11/2006 - 11:16 A recent string of patches posted to the lkml attempted to clean up compiler warnings, and lead to numerous discussions about the appropriate way to fix warnings. One thread discussed a warning caused by what the compiler inappropriately believed was an uni...

by albcamus - 内核/嵌入技术 - 2006-05-18 15:50:21 阅读(809) 回复(0)

前天做了备份,备份完成后出现以下信息,最后有个warnings的报错,不知道问题在哪?请高手指教! login: root Password: Please wait...checking for disk quotas (c)Copyright 1983-2003 Hewlett-Packard Development Company, L.P. (c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California (c)Copyright 1980, 1984, 1986 Novell, Inc. (c)Copyright 1986-2000 Sun Microsystems, Inc. (c)Copyright 1985,...

by amirwap - HP-UX - 2012-08-26 17:54:20 阅读(2448) 回复(3)

How to solve this problem? Treat warning as warning? huh.. Black Thought

by 51dunk - C/C++ - 2008-02-27 10:39:55 阅读(3461) 回复(1)

Query OK, 970 rows affected, 585 warnings (0.05 sec) Records: 970 Deleted: 0 Skipped: 0 warnings: 116 我的系统是LINUX AS 4+MYSQL 5,目前我LOAD DATA时出现了WARNING消息,我想查看该消息,请问用什么命令?

by cxm.cm - MySQL - 2007-08-15 10:49:52 阅读(2312) 回复(1)

[quote]http://hqtech.nease.net/articles/VC_ConstructorThis.htm[/quote][code]某些人认为不应该在构造函数中使用this指针,因为这时this对象还没有完全形成。 但是,只要小心,是可以在构造函数中使用this指针的:[/code] 我对这句话不同意.因为我觉得this是在程序员能做任何事情之前就存在了的.但是你不能乱用它,而不是像这里说的"因为这时this对象还没有完全形成"我觉得是完全形成了.因为一个构造函数它的代码像是这样: str...

by THEBEST - C/C++ - 2004-05-13 08:54:36 阅读(1074) 回复(3)

在运用use strict的情况下 我想在a函数中申明一个变量 然后在b,c 函数中使用,该怎么做呢 各位指点一下? :)

by muyiyang2 - Perl - 2003-12-16 17:32:17 阅读(1688) 回复(3)

是什么意思?

by xzh2002 - Perl - 2003-10-15 17:57:52 阅读(1171) 回复(2)

quiesce命令

by CCBZZP - DB2 - 2003-05-22 15:00:47 阅读(913) 回复(0)