in reply to Parenthesis Match

and random guesses hasn't worked either

You obviously don't have enough monkeys.

But seriously, here what the documentation says about capitalisation.

d:\>perldoc -q capitalize Found in D:\Perl\lib\pod\perlfaq4.pod How do I capitalize all the words on one line? To make the first letter of each word upper case: $line =~ s/\b(\w)/\U$1/g;

There's also good information at perldoc -f boundary, which might help clarify your thinking about what constitutes a word boundary.

 

Replies are listed 'Best First'.
Re: Re: Parenthesis Match
by fourmi (Scribe) on May 27, 2004 at 08:45 UTC
    Ahh, brilliant, thanks very much, have plenty of monkeys, but seeing as they failed will now have to go and spank them. much appreciated!