Skip Menu |

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

Report information
The Basics
Id: 36992
Status: open
Priority: 0/
Queue: Perl-Critic-Dynamic

Owner: Nobody in particular
Requestors: user42 [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: utf8::is_utf8
Date: Sun, 22 Jun 2008 08:59:29 +1000
To: bug-Perl-Critic-Dynamic [...]
From: Kevin Ryde <user42 [...]>
Download (untitled) / with headers
text/plain 415b
With perl-critic-dynamic 0.04 and the debian perl 5.10.0 the program below put through perlcritic --single-policy=ValidateAgainstSymbolTable reports Subroutine "utf8::is_utf8" does not appear to be defined at line 4, column 5. Perhaps you forgot to load "utf8". (Severity: 4) whereas I think that func is always loaded, and that you're specifically not meant to "use utf8" before calling it.
text/x-perl 99b
use strict; use warnings; if (utf8::is_utf8('abc')) { print "yes\n"; } else { print "no\n"; }
Download (untitled) / with headers
text/plain 217b
Thanks for pointing this out. I've just started tinkering with this Distro again. I'll see if I can figure out what is going on here. -- Jeffrey Thalhammer Imaginative Software Systems

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to