]> git.decadent.org.uk Git - maypole.git/commitdiff
Silence warning.
authorSimon Cozens <simon@simon-cozens.org>
Thu, 1 Apr 2004 16:18:48 +0000 (16:18 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Thu, 1 Apr 2004 16:18:48 +0000 (16:18 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@101 48953598-375a-da11-a14b-00016c27c3ee

lib/Maypole/Model/Base.pm

index a9b3a32a7b9b57ccb6d13f652db6175a1b94fc48..dc715a0bdaeeeddcb8499f557470eca633f2c71c 100644 (file)
@@ -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