On 4/18/05, Jay Savage wrote:
> 
> $line =~ /(\S+)/\u\L$1/g ;
> 

Almost right - returns "Level A (grade 1 Reading Level)" - notice the
lowercase "g" in "grade"). Should be:
$line =~ s/(\w+)/\u$1/g;

-- 
Offer Kaye

--
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