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

Re: Translitteration and combining strings and array references

Thread Previous | Thread Next
From:
Juerd
Date:
October 18, 2005 11:03
Subject:
Re: Translitteration and combining strings and array references
Luke Palmer skribis 2005-10-18 11:57 (-0600):
> It looks nicer if you use the indirect object form:
>     trans "string": [
>         <h e> => "0",
>     ];

It'd also look very nice with optional parens:

    "string".trans [ <h e> => "0" ];

Or is it not yet time to resuggest that? :)


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Thread Previous | Thread Next


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