Re: Advice on how to approach character translation



"Jenda Krynicky" schreef:

@signs = map quotemeta($_) @signs;

@signs = map quotemeta($_), @signs;

(there was a comma missing)

which you could even write as

@signs = map quotemeta, @signs;

--
Affijn, Ruud

"Gewoon is een tijger."

sub uniq {
my $prev;
map $_ eq ($prev || "") ? () : ($prev = $_), @_;
}

.