Subject: | Bug 100291 - ProhibitNullStatements |
Date: | Mon, 2 Mar 2015 12:45:20 +0000 |
To: | "'bug-Perl-Critic-Pulp [...] rt.cpan.org'" <bug-Perl-Critic-Pulp [...] rt.cpan.org> |
From: | Ed Avis <eda [...] waniasset.com> |
Thanks for looking into the bug https://rt.cpan.org/Public/Bug/Display.html?id=100291
I am not able to update it on the web interface so I comment here.
It says that version 89 has some code to detect 'try' and 'catch', but I find that the following test case
use TryCatch;
try { $dbh = db_connect }
exit 1;
still produces the error
Null statement (stray semicolon) [ValuesAndExpressions::ProhibitNullStatements]
--
Ed Avis <eda@waniasset.com>
Show quoted text
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________