Brian Volk wrote:

Hi All,

which perldoc (s) should I read if I'm going to be writing a program using
regular expression?  Substitutions - case shifting.

I have a folder which contains thousands of text files. (short desc. for
image files). I copied and pasted most of the short descriptions so some
files are upper / lower and some are all upper. I want to write a program
that will read through all the text file and convert them all to upper /
lower.


I'm reviewing the regular expression chapters in the Learning Perl book so I
have a pretty good idea what I'm doing....  :-)


perldoc perlretut perldoc perlre

I didn't quite get what you meant about the upper/lower stuff, but you may want to look at

perldoc -f uc
perldoc -f lc
perldoc -f ucfirst
perldoc -f tr

HTH,

http://danconia.org

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to