in reply to String handling frustrations

Your string ends in a \r (carriage return). Remove it: $str =~ s/\r$//;. Or remove all of them: $str =~ tr/\r//d;.

_____________________________________________________
Jeff japhy Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Replies are listed 'Best First'.
Re: Re: String handling frustrations
by troll314 (Initiate) on Jul 31, 2001 at 00:45 UTC
    Thanks. (test)

    ----------------------
    My very owen signature