On Fri, 27 Aug 2004, Luke Palmer wrote:
$downcaserule = 'A-Z' = 'a-z';
$l33trule = 'EISTA' = '31574';
$str =~ tr( { $l33trule, $downcaserule } );
may or may not do what the naive reader expects, and randomly so!
[snip]
or not. the point is that it's only undefined for
Michael Homer skribis 2004-09-08 15:54 (+1200):
I think (correct me) what he's getting at here is a sparse array 1=a,
3=b, 4=c where 2nd is 'b' (the second item) but 1st+1 is undefined
(there is no index 2). I don't know how well that scheme works from a
comprehension point of view though,
Juerd wrote:
Michael Homer skribis 2004-09-08 15:54 (+1200):
I think (correct me) what he's getting at here is a sparse array 1=a,
3=b, 4=c where 2nd is 'b' (the second item) but 1st+1 is undefined
(there is no index 2). I don't know how well that scheme works from a
comprehension