in reply to help with a regexp
Don't use a regexp, you don't need it and it'll only make things more complicated. Just alter each character individually.
for (0, -1) { $bar = substr $foo, $_, 1; $foo = substr($foo, $_, 1) = uc bar; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: help with a regexp
by Dedalus (Scribe) on Sep 26, 2002 at 21:32 UTC |