I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-05-06 17:35:36-07 by pixelpicker in response to 10613
Re: Separating languages in keywords & caption...

************* Yes - this is the right thing!! *************
************* Works like a machine!! *************
************* Thank you very much Phil. *************

For the keywords I took your code like this:

KeywordsDeutsch => { Require => 'Keywords', ValueConv => q{ my @list = ref $val ? @$val : ($val); my $changed; s/([^\|]*)\| .*/\1/ and $changed = 1 foreach @list; return $changed ? \@list : undef; }, }, KeywordsEnglish => { Require => 'Keywords', ValueConv => q{ my @vals; foreach (ref $val eq 'ARRAY' ? @$val : $val) { push @vals, $2 if /(^|\|)\s*\s+(.*?)\s*(\||$)/; } return @vals ? \@vals : undef; }, },

No clue how it works in detail, but it does exactly what it should :)))

Hmm - but I have another question before I look on it more detailed:
Wouldn't it be possible with ExifTool to create own iptc-tags (caption, keywords, headline) for a second language? Of course this wouldn't be a standard but could help.

Have a good evening.

Greetings from
pixelpicker
Direct Responses: 10615 | Write a response