http://qs321.pair.com?node_id=630980


in reply to Re^2: searching for strings
in thread searching for strings

Sorry! How strange of Perl to be asymmetric! Why is "--" not as magical as "++"? This will work instead...
$char_up =~ tr/A-Z0-9/B-ZZ1-99/; $char_down =~ tr/A-Z0-9/AA-Y00-8/;

Replies are listed 'Best First'.
Re^4: searching for strings
by oha (Friar) on Aug 07, 2007 at 11:10 UTC
    cauz if so it wouldn't be symmetric :)

    suppose you have "A00", if you -- you'll get "99" and then if you ++ you'll get "100"

    Oha