What I should have done is to have a standard formatting function that handles things correctly.
The hackish fix is conceptually simple - put the following in my startup.pl
BEGIN { CORE::GLOBAL::ucfirst = sub { join ' ', map { s/^(.)/uc $1/e; $_ } split ' ', shift }; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Globally change ucfirst in mod_perl
by antirice (Priest) on May 20, 2004 at 06:20 UTC | |
by cLive ;-) (Prior) on May 20, 2004 at 08:58 UTC | |
by Roy Johnson (Monsignor) on May 20, 2004 at 13:41 UTC | |
by antirice (Priest) on May 20, 2004 at 14:25 UTC | |
|
Re: Globally change ucfirst in mod_perl
by Roy Johnson (Monsignor) on May 19, 2004 at 21:56 UTC | |
|
Re: Globally change ucfirst in mod_perl
by dragonchild (Archbishop) on May 20, 2004 at 01:34 UTC | |
by Roy Johnson (Monsignor) on May 20, 2004 at 13:58 UTC |