Subject: | suggest RequireASCII allow non-ascii in comments |
Date: | Wed, 18 Jun 2008 10:46:46 +1000 |
To: | bug-Perl-Critic-More [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
As a suggestion, maybe CodeLayout::RequireASCII could have an option to
allow non-ascii in comments. I've got a couple of files with bizarre
stuff in the comments, but where I'd like the code itself to be ascii.
There's probably a few variations on the theme. Perhaps non-ascii is ok
in the pod, perhaps it's ok in strings but not identifiers, maybe it's
ok in regexps. I haven't thought through the possibilities, only that
comments could be a fairly reasonable exception to start with.