in reply to Re: character classes
in thread charachter classes, and a misunderstanding...

No point in duplicating that tr/// string twice. This will suffice:
$longest = $_ if length == tr/qwertasdfgzxcvb//;

-- Randal L. Schwartz, Perl hacker