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 13:58:03-07 by pixelpicker in response to 10610
Re: Separating languages in keywords & caption...
OK - there was a misunderstanding - I didn't say clearly how the metadata is given:

its like this:

Caption-Abstract : Auto | car
Caption Language 1 : Auto
Caption Language 2 : car

Theres no "English" or other language in front.
I tried to modify your script. What I found out up to now:

CaptionEnglish => { Require => 'Caption-Abstract', ValueConv => '$val =~ /(^|\|)\s*\s+(.*?)\s*(\||$)/si ? $2 : undef', },

This creates the "car". Verry Good, nearly done :)

But:
CaptionDeutsch => { Require => 'Caption-Abstract', ValueConv => '$val =~ /(^|\|)\s*|\s+(.*?)\s*(\||$)/si ? $2 : undef', },

creates nothing :(
Could you help me one more time, please?

Many greetings from
pixelpicker
Direct Responses: 10613 | Write a response