>>>>> "Bill" == Bill Moseley <[EMAIL PROTECTED]> writes:
Bill> Want to list ids associated with artists and show the ids in order. Bill> The cd objects stringify to its id. Bill> CD ISs: [% artist.cds.nsort.join( ', ' ) %] Bill> This works if the artist has more than one CD. If they only have one Bill> then I get: Bill> CD IDs: id Bill> Note the string "id". What is making artist.cds ? It needs to return an arrayref, not a list. The magical list return stuff makes a single item into a scalar, and multiple items into an array. That's your breakdown. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
