Perl评论家:逗号用于分隔陈述
发布时间:2020-12-15 21:57:51 所属栏目:大数据 来源:网络整理
导读:Critic不接受关注代码,严重性4: return { 'debug' = $debug,'identifier' = $identifier}; 我收到此错误: # Perl::Critic found these violations in "filename.pl":# Comma used to separate statements at line 356,column 3. See pages 68,71 of PBP. (
Critic不接受关注代码,严重性4:
return { 'debug' => $debug,'identifier' => $identifier }; 我收到此错误: # Perl::Critic found these violations in "filename.pl": # Comma used to separate statements at line 356,column 3. See pages 68,71 of PBP. (Severity: 4) 但是这个代码没有任何评论被接受: my $result = { 'debug' => $debug,'identifier' => $identifier }; return $result; 使用临时变量编写返回信息真的更好吗,或者在我构建和返回hashref时检测用于分隔语句的逗号是否有误? 解决方法
我在版本1.105中发现了这个错误,它在版本1.116中消失了.它固定在那里之间的某个地方.
更改日志中未提及此修复程序,但提及了PPI更改.可能是PPI错误. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- VS.NET打印思想与2003/5DataGrid、DataGridView及二维数据如
- 咋没vb,delphi,python之类的老师嗫
- perl – 如何将2个或更多纹理贴图应用于gluSphere OpenGL对
- VB6.0 调用第三方dll
- perl-lwp笔记
- ThinkPHP3.1快速入门(18)数据分页
- php – Laravel 5 isDirty()总是返回false
- delphi中SQL避免非法字符,单引号(')出错的三种方法
- 606. Construct String from Binary Tree - Easy
- 如何重构使用带有DBI的Template Toolkit的Perl代码来利用Fa