go ahead... be a heretic | |
PerlMonks |
Re^3: stuck with a \N{CHAR NAME} problemby ikegami (Patriarch) |
on May 26, 2011 at 18:28 UTC ( [id://906871]=note: print w/replies, xml ) | Need Help?? |
Auto-loading :full would be most desireable, but it wouldn't help here. It seems to me the OP's issue could be resolved by attaching charnames data to statements (just like strict flags). Then, qr// could translate \N{NAME} to \N{U+NUM} at run-time just like it does at compile-time. That would even handle aliases. Is that hard to do?
In Section
Seekers of Perl Wisdom
|
|