develooper Front page | perl.perl5.porters | Postings from June 2009

Re: PATCH small documentation change for UCD.pm

Thread Previous
From:
H.Merijn Brand
Date:
June 26, 2009 12:08
Subject:
Re: PATCH small documentation change for UCD.pm
Message ID:
20090626210826.00ec52c9@pc09.procura.nl
On Fri, 26 Jun 2009 12:14:28 -0600, karl williamson
<public@khwilliamson.com> wrote:

> From 47005e45e9738044f28ea250c17120bfa04a09b1 Mon Sep 17 00:00:00 2001
> From: Karl Williamson <khw@khw-desktop.(none)>
> Date: Fri, 26 Jun 2009 12:11:05 -0600
> Subject: [PATCH] Small documentation change

Thanks, applied as 956cae9a39d38cbf579796dfaf373bdc31552184

> ---
>  lib/Unicode/UCD.pm |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/Unicode/UCD.pm b/lib/Unicode/UCD.pm
> index c2cd67b..c6ee8e0 100644
> --- a/lib/Unicode/UCD.pm
> +++ b/lib/Unicode/UCD.pm
> @@ -31,6 +31,9 @@ Unicode::UCD - Unicode character database
>      use Unicode::UCD 'charinfo';
>      my $charinfo   = charinfo($codepoint);
>  
> +    use Unicode::UCD 'casefold';
> +    my $casefold = casefold(0xFB00);
> +
>      use Unicode::UCD 'casespec';
>      my $casespec = casespec(0xFB00);
>  
> @@ -1110,7 +1113,8 @@ sub casespec {
>  If used with a single argument in a scalar context, returns the string
>  consisting of the code points of the named sequence, or B<undef> if no
>  named sequence by that name exists.  If used with a single argument in
> -a list context, it returns the list of the code points.  If used with no
> +a list context, it returns the list of the ordinals of the code points.  If used
> +with no
>  arguments in a list context, returns a hash with the names of the
>  named sequences as the keys and the named sequences as strings as
>  the values.  Otherwise, it returns B<undef> or an empty list depending


-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


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