develooper Front page | perl.perl5.porters | Postings from December 2015

Re: Obsolete text in utf8.pm

Thread Previous | Thread Next
From:
bulk88
Date:
December 7, 2015 00:54
Subject:
Re: Obsolete text in utf8.pm
Message ID:
20151207005434.24756.qmail@lists-nntp.develooper.com
Abigail wrote:
> On Sat, Dec 05, 2015 at 04:27:39PM -0700, Karl Williamson wrote:
>> What of the following is still true?
>>
>> One can have UTF-8 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
>> UTF-8 for the said purposes is unsupported.
>>
>> One reason of this unfinishedness is its (currently) inherent
>> unportability: since both package names and subroutine names may need
>> to be mapped to file and directory names, the Unicode capability of
>> the filesystem becomes important-- and there unfortunately aren't
>> portable answers.
>>
>
>
> The case-sensitivity of the underlaying filesystem is important too,
> but that has never stopped us from allowing the use of both upper
> and lower case characters in package names. For the systems which
> do have a case sensitive filesystem, it's just too luring.

how about null sub names? I wonder why the attached file isn't a syntax 
error.

-----------------------------------------------------------------------
C:\p523\src>perl t.pl
Undefined subroutine &main::  called at t.pl line 2.

C:\p523\src>
-----------------------------------------------------------------------

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About