From 2e9e448170822a6c83ad03e6a6a93190b490e420 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 15 Mar 2009 20:47:15 +0000 Subject: [PATCH] add field for mobite phone --- bin/csv2yaml.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/csv2yaml.pl b/bin/csv2yaml.pl index a40eb3e..4526926 100755 --- a/bin/csv2yaml.pl +++ b/bin/csv2yaml.pl @@ -49,6 +49,7 @@ foreach my $line ( split(/\r?\n/, $csv) ) { my @v = split(/\s*#\s*/, $v); foreach my $pos ( 0 .. $#v ) { $hash->{ $n . '_' . $pos } = $v[$pos]; + $hash->{ $n . '_mobitel' } = $v[$pos] if $n =~ m{tel} && $v[$pos] =~ m{^09}; } } $hash->{ $n } = $v; -- 2.20.1