From: Wolfram Schneider Date: Wed, 21 Apr 2010 13:26:41 +0000 (+0200) Subject: rename function trimFields to trimField X-Git-Tag: CPAN-v1.02~54^2~53 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=5ae5e44d1f3f4a95c100dfa2e5ae2973a2e09202;p=irspy-moved-to-github.git rename function trimFields to trimField --- diff --git a/lib/ZOOM/IRSpy/Utils.pm b/lib/ZOOM/IRSpy/Utils.pm index 4f2580c..5c01a7b 100644 --- a/lib/ZOOM/IRSpy/Utils.pm +++ b/lib/ZOOM/IRSpy/Utils.pm @@ -104,8 +104,8 @@ sub isodate { $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+//;