Right, but are you saying that methods of objects (that will be processed inside a template) can't return an array, only a reference to an array? It works fine without using ".sort".
regards, Brian > -----Original Message----- > From: Mark Mills [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 01, 2002 4:40 PM > To: Parker, Brian ; [EMAIL PROTECTED] > Subject: RE: [Templates] can't sort a list with only one member > > > > sub get_colors { > > my @items = ("red"); > > return @items; > > } > > Try that with: > > return \@items; > > ;) > > --mark >
