in reply to Re: Letter frequencies
in thread Letter frequencies

tr/[ \t\n\r]//d;
Are you literally wanting to remove [ and ] there? Remember, the operands to the tr operator are not character classes, so they don't need brackets.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: {3} Letter frequencies
by jeroenes (Priest) on Nov 24, 2000 at 18:42 UTC
    Stomp on the head Yeah, of course. My excuses. I still have to get used to tr// . At first I wanted to tr/\s//d, but that was quite a disappointment! ;-).

    Thanks a lot!
    Jeroen

    I was dreaming of guitarnotes that would irritate an executive kind of guy (FZ)