From: Simon Cozens Date: Thu, 1 Apr 2004 16:18:48 +0000 (+0000) Subject: Silence warning. X-Git-Tag: 2.10~261 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=4e422b379c918ff554172ed95a9f334520c23cec;p=maypole.git Silence warning. git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@101 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/lib/Maypole/Model/Base.pm b/lib/Maypole/Model/Base.pm index a9b3a32..dc715a0 100644 --- a/lib/Maypole/Model/Base.pm +++ b/lib/Maypole/Model/Base.pm @@ -125,7 +125,7 @@ Return a hash mapping column names with human-readable equivalents. sub column_names { my $class = shift; map { my $col = $_; - $col =~ s/_+(\w)?/ \U\1/g; + $col =~ s/_+(\w)?/ \U$1/g; $_ => ucfirst $col } $class->columns } =head2 description