develooper Front page | perl.perl5.porters | Postings from November 2011

RFC: Autoloading charnames

Thread Next
From:
Karl Williamson
Date:
November 22, 2011 14:03
Subject:
RFC: Autoloading charnames
Message ID:
4ECC1C37.7070008@khwilliamson.com
It has been proposed that charnames automatically load when a \N{} is 
seen.  That is easy to do, and I think it should load as if the :full 
and :short options had both been specified.

Does anyone disagree with doing this?

If it is done, should the functions in the module also autoload.  That 
is, should a line like 'my $poo = charnames::viacode(0x1F4A9)' fail if 
charnames hasn't been 'used' or 'required' or should it cause the module 
to load ?

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