Skip Menu |
 

This queue is for tickets about the Devel-Declare CPAN distribution.

Report information
The Basics
Id: 77022
Status: open
Priority: 0/
Queue: Devel-Declare

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

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



Subject: Devel::Declare doesn't handle unicode lexemes
Download (untitled) / with headers
text/plain 508b
Perl itself allows non-ascii sub and var names when utf8 pragma in use. I want to add new non-ascii keyword using Devel::Declare. But Devel::Declare ignores it. Example (parser() not called): use utf8; package PerlSyntax::Ru; use Devel::Declare; use strict; sub import { my $caller = caller; Devel::Declare->setup_for( $caller, {для => {const => \&parser}} ); } sub parser { warn "parser() called"; } package main; BEGIN { PerlSyntax::Ru->import(); } для (1..10) { print "ok\n"; }
Subject: Re: [rt.cpan.org #77022] Devel::Declare doesn't handle unicode lexemes
Date: Tue, 8 May 2012 16:42:09 +0100
To: Oleg G via RT <bug-Devel-Declare [...] rt.cpan.org>
From: Zefram <zefram [...] fysh.org>
Download (untitled) / with headers
text/plain 271b
Oleg G via RT wrote: Show quoted text
>I want to add new non-ascii keyword using Devel::Declare. But >Devel::Declare ignores it.
True, D:D is not Unicode-aware. Now that there's some semblance of Unicode processing in the main parser, D:D ought to have a go at supporting it. -zefram


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.