develooper Front page | perl.perl6.language | Postings from October 2005

Re: Translitteration and combining strings and array references

Thread Previous | Thread Next
From:
David Formosa
Date:
October 16, 2005 11:59
Subject:
Re: Translitteration and combining strings and array references
On Fri, 14 Oct 2005 08:38:55 +0200, Peter Makholm <peter@makholm.net> wrote:
> Yesterday I spend some hours getting pugs to understand
> translitterations with multiple ranges in each pair. E.g. 
> 
>   "foobar".trans( "a-z" => "n-za-n" );
> 
> By accident I tested something like:
> 
>   "foobar".trans( ['a' .. 'z'] => "n-za-m" );
> 
> and it didn't work.

It's a bug.  When Pugs gets anyhashes that bug will go away.  Can you
add it in to the errors.


-- 
Please excuse my spelling as I suffer from agraphia. See
http://dformosa.zeta.org.au/~dformosa/Spelling.html to find out more.
Free the Memes.

Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About