in reply to Re: Interpretting character combinations as special characters.
in thread Interpretting character combinations as special characters.

Three string evals and a map just for lazyness? Why don't you just write my %replace=( n => "\n", t => "\t", r => "\r" );?

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^3: Interpretting character combinations as special characters.
by Corion (Patriarch) on Dec 10, 2009 at 21:31 UTC

    Exactly for that reason - I'm lazy, as I want to be able to add 0 without much hassle, and possibly other special characters.