Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Verilog-Perl CPAN distribution.

Report information
The Basics
Id: 39654
Status: resolved
Priority: 0/
Queue: Verilog-Perl

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.042
Fixed in: 3.043



Subject: Test 04critic written badly
Your 04critic.t contains: eval { use Test::Perl::Critic; }; This doesn't work as intended. Block eval compiles the contained code at compile time, not runtime. So it failes right at the moment the script is parsed and if Tast::Perl::Critic isn't installed, the use statement fails immediately and the eval is never reached. See the manpage for Test::Perl::Critic how this can be written safely. Thanks,
Fixed in 3.043, thanks for filing the bug.