Posted on 2010-02-12 01:12:03.706936-08 by infotalk in response to 12343
Re: Adding separator to keywords for languages
Hi Phil, %Image::ExifTool::UserDefined = ( 'Image::ExifTool::Composite' => { MyKeywords => { Require => 'Keywords', ValueConv => q{ my @v = ref $val ? @$val : $val; my $n = int(@v / 2); $v[$n] = "| $v[$n]"; return \@v; }, }, }, ); 1; # end In above case there is 1 German keyword translated by 1 English keyword. But I have several keywords with synonyms. So it is possible that 1 German/English keyword is translated by 2 or more German/English keywords. Is there a way to set the PIPE like this: drehen, wirbeln | twirl Einkauf | purchase, shopping Thank you very much for giving me an example.
Direct Responses: 12369 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.