@a=('a', 'b', 'c'); print "test1: ".scalar(@a)."\n"; print "test2: ".scalar(sort @a)."\n"; #### test1: 3 Use of uninitialized value at t2.pl line 3. test2: