rename function trimFields to trimField
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 21 Apr 2010 13:26:41 +0000 (15:26 +0200)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 21 Apr 2010 13:26:41 +0000 (15:26 +0200)
lib/ZOOM/IRSpy/Utils.pm

index 4f2580c..5c01a7b 100644 (file)
@@ -104,8 +104,8 @@ sub isodate {
                   $year+1900, $mon+1, $mday, $hour, $min, $sec);
 }
 
                   $year+1900, $mon+1, $mday, $hour, $min, $sec);
 }
 
-# strips whitespaces and start and ends of fields
-sub trimFields {
+# strips whitespaces and start and ends of a field
+sub trimField {
     my $field  = shift;
 
     $field =~ s/^\s+//;
     my $field  = shift;
 
     $field =~ s/^\s+//;