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

Re: RFC: API to access Unicode db files

Thread Previous | Thread Next
From:
Zefram
Date:
July 24, 2011 03:13
Subject:
Re: RFC: API to access Unicode db files
Message ID:
20110724101324.GB3791@lake.fysh.org
Karl Williamson wrote:
> prop_invmap("Numeric_Value", \@numerics_ranges, \@numerics_maps);

Looks fine to me, except for the convention for returning the arrays.
It would be neater to return a list of items rather than modify arrays
in place:

  ($status, $ranges, $maps) = prop_invmap("Numeric_Value");

-zefram

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