in reply to Character class question

To find your Perl version, type "perl -v" from any commandline. This will work on pretty much any system Perl can be installed onto.

As for your regex, I'll explain what you're doing. You're matching against 'W' (that's the capital letter) and '_' (underscore). You probably want a '\' (backslash) in front of the W. :-)

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose