Hi Patricia, Whilst this does not answer your question in full it should act as a starting point.
@array = qw(1 2 3 4); # four elements print $#array+1; # will print 4 HTH Toby "Patricia Hinman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does anyone know of a routine that will sort arrays by > size. I need to sort any number of given arrays, and > operate on the largest to the smallest. > > I've just recently learned of the > @nums = sort{$a<=>$b} @numbers; > > hope the answer for arrays is as simple. > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
