in reply to Re^2: transliteration d flag not working as expected
in thread transliteration d flag not working as expected
Using it twice in a DRY way means putting the pattern into a variable which leads to eval :(
Because the transliteration table is built at compile time, ne +ither the SEARCHLIST nor the REPLACEMENTLIST are subjected to dou +ble quote interpolation. That means that if you want to use va +riables, you must use an eval():
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: transliteration d flag not working as expected
by AnomalousMonk (Archbishop) on Jun 09, 2013 at 13:14 UTC |