in reply to help me with template module to print like this
You don't say which template package you are using. If possible you could create a temporary array with the 1-3 names or first count the names and handle the case with 3 names separately.
Or handle the difficult stuff in perl and give the resultant string to the template
|
|---|