in reply to Re: Just another japh
in thread Just another japh

Nice,
now I know why it works :-)

There was a problem, when I've done the tr part. In my first attempt I was using:

y;PQWVTYSXUR;,:_}][{}();;
instead of
y;PQWVTYSXUR;,:_}][{"();;
But that gaves a strange result:

Try this little script:

s;;PQWPPVPPTPPWQRSQXVPPQPPPPPWPQUPQPPPUQRSPPSPQPPPUPQYQRSPQUQXVQXXPQVP +QPPPU;; print $_.$/; y;PQWVTYSXUR;,:_}][{}();; y;,:_}][{}();PQWVTYSXUR;; print $_.$/;
This should normaly print out 2 equal strings. But it doesn't!? All the 'X' in the first string are replaced by a 'V'!?
I've got no idea why!

Cheers, physi

-----------------------------------
--the good, the bad and the physi--
-----------------------------------

Replies are listed 'Best First'.
Re: Just another japh
by Skeeve (Parson) on May 08, 2003 at 12:41 UTC
    y;PQWVTYSXUR;,:_}][{}();; y;,:_}][{}();PQWVTYSXUR;;
    As you might know by now: You used } twice in your replacement string. So no wonder it fails.
      8-}
      Thanks, for that hint ;-)

      -----------------------------------
      --the good, the bad and the physi--
      -----------------------------------