Closed p5pRT closed 8 years ago
In the file lib/utf8.pm\, it says\, under BUGS:
One can have Unicode in identifier names\, but not in package/class or subroutine names. While some limited functionality towards this does exist as of Perl 5.8.0\, that is more accidental than designed; use of Unicode for the said purposes is unsupported. ---
Hasn't perl's unicode support come a bit farther than what was provided in 5.8.0? I was under the impression that any "valid-for-class" UTF-8 characters were available for use anywhere in a source that had a 'use utf8' in its "header"?
I've been using it it in functions and variable names for years now (though haven't tried it with classes/packages\, I'd be surprised if they didn't handle unicode as well).
Please tell me this is an outdated "doco" (cf. typo").
On Mon Oct 10 13:43:36 2016\, LAWalsh wrote:
This is a bug report for perl from perl-diddler@tlinx.org\, generated with the help of perlbug 1.40 running under perl 5.22.0.
----------------------------------------------------------------- [Please describe your issue here]
In the file lib/utf8.pm\, it says\, under BUGS:
One can have Unicode in identifier names\, but not in package/class or subroutine names. While some limited functionality towards this does exist as of Perl 5.8.0\, that is more accidental than designed; use of Unicode for the said purposes is unsupported. ---
Hasn't perl's unicode support come a bit farther than what was provided in 5.8.0? I was under the impression that any "valid-for- class" UTF-8 characters were available for use anywhere in a source that had a 'use utf8' in its "header"?
I've been using it it in functions and variable names for years now (though haven't tried it with classes/packages\, I'd be surprised if they didn't handle unicode as well).
Please tell me this is an outdated "doco" (cf. typo").
The documentation was changed between 5.22 and 5.24. Here is the BUGS section of lib/utf8.pm in perl-5.24.0:
##### BUGS Some filesystems may not support UTF-8 file names\, or they may be supported incompatibly with Perl. Therefore UTF-8 names that are visible to the filesystem\, such as module names may not work. #####
Thank you very much.
-- James E Keenan (jkeenan@cpan.org)
The RT System itself - Status changed from 'new' to 'open'
@jkeenan - Status changed from 'open' to 'rejected'
Migrated from rt.perl.org#129849 (status was 'rejected')
Searchable as RT129849$