Re: Translitteration and combining strings and array references

2005-10-18 Thread Peter Makholm
[EMAIL PROTECTED] (Eric) writes: >> On Fri, 14 Oct 2005 08:38:55 +0200, Peter Makholm <[EMAIL PROTECTED]> >> wrote: >> > Yesterday I spend some hours getting pugs to understand >> > translitterations with multiple ranges in each pair. E.g. > Actually its be

Re: Translitteration and combining strings and array references

2005-10-15 Thread Peter Makholm
622 changed something about how the method gets called and that broke most of the examples in S05. I'll probally turn my attention somewhere else until I have a more stable understanding of what happens. -- Peter Makholm | I laugh in the fa

Re: Translitteration and combining strings and array references

2005-10-14 Thread Peter Makholm
[EMAIL PROTECTED] (Larry Wall) writes: > On Fri, Oct 14, 2005 at 08:38:55AM +0200, Peter Makholm wrote: > : Yesterday I spend some hours getting pugs to understand > : translitterations with multiple ranges in each pair. E.g. > : > : "foobar".trans( "a-z" =&

Translitteration and combining strings and array references

2005-10-14 Thread Peter Makholm
"foobar".trans( ['a' .. 'b'] => '12'); # a=>1, b=>2 "foobar".trans( "a b" => "123" ) # a=>1, ' '=>2, b=>3 Same problem ocurs if left hand side is a string and right hand side is an array refer