2009/7/22 Yuan Jiang <[email protected]>: > 同意楼上的。 > > 不过你的代码在我这里第二次打印 $1时,会直接报一个错误: > Use of uninitialized value $1 in print at reg.pl line 21. > 难道不同版本的perl对于此种情况的处理不一样? >
没错,Perl 5.8.8 和 Perl 5.10.0 的行为就不一样。 lee --~--~---------~--~----~------------~-------~--~----~ 您收到此信息是由于您订阅了 Google 论坛“PerlChina Mongers 讨论组”论坛。 要在此论坛发帖,请发电子邮件到 [email protected] 要退订此论坛,请发邮件至 [email protected] 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛 -~----------~----~----~----~------~----~------~--~---
