perl-unicode

Re: an api

2002-04-10 01:13:06
On Wed, 10 Apr 2002 04:04:42 +0900, Dan Kogai 
<dankogai(_at_)dan(_dot_)co(_dot_)jp> said:

  > On Wednesday, April 10, 2002, at 03:58 , Jarkko Hietaniemi wrote:

Encode::Alias::resolve_alias(), to go with define_alias()?

  > Well, be it resolve_alias().


Maybe it's nit-picking, but I find this one additional function just
bloat. Why not overload stringify to name() and voila, instantly we
get what the original king was asking for. From

    find_encoding("latin1")->name eq 'iso-8859-1';

to

    find_encoding("latin1") eq 'iso-8859-1';


Except that I cannot it to work, but that's probably just me.

-- 
andreas

<Prev in Thread] Current Thread [Next in Thread>