in reply to Re^2: Returning transliteration from eval
in thread Returning transliteration from eval
Habitual backslasher ikegami might have something to say about it but single (non-interpolating/literal) quotes can be a bit easier to read.
( eval '( $string1 | $string2 ) =~ tr[$n1][$n1]' ), ( eval '( ~$string1 & $string2 ) =~ tr[$ndiff][$ndiff]' ), ( eval '( $string1 & ~$string2 ) =~ tr[$ndiff][$ndiff]' ), ( eval '( $string1 & $string2 ) =~ tr[$n2][$n2]' ) ),
Update: my eyes are getting old. I missed the interpolation in the trs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Returning transliteration from eval
by Anonyrnous Monk (Hermit) on Jan 28, 2011 at 16:52 UTC | |
by Your Mother (Archbishop) on Jan 28, 2011 at 17:21 UTC |