Thanks!
Hmmm... I am still not getting it for some reason....
Here is what I put in the template:
<%~if Eng_Title%>
<%set Eng_Title_loop = Eng_Title_1($Eng_Title)%>
<h4><b>English Title<%if Eng_Title_loop.length > 1%>s<%endif%></b>: <%loop Eng_Title_loop%><%if Eng_Title_loop.length > 1 and not first%><%if last%></i>" and "<i><%else%>,</i>" "<i><%endif%><%endif%>"<%loop_value%><%if last%>.<%endif%>"
<%endloop%>
</h4><br /><br />
<%~endif%>
The global which I called Eng_Title_1, looks like this:
sub {
my $title = shift;
return $title ? [split(/\s+,\s+/, $title)] : [];
}
When I run it, I get no output.... just:
English Title: I pared it down to just this (in case I scrwed up the if..elses):
<%~if Eng_Title%>
<%set Eng_Title_loop = Eng_Title_1($Eng_Title)%>
<h4><b>English Title<%if Eng_Title_loop.length > 1%>s<%endif%></b>:
<%loop Eng_Title_loop%>
<%loop_value%>
<%endloop%>
</h4><br /><br />
<%~endif%>
Same... no data back...
dave
Big Cartoon DataBase Big Comic Book DataBase