my @animals = ("frog", "toad", "snake", "grasshopper", "bird"); #### my @sorted_animals = (sort @animals); print "@sorted_animals"; # prints with spaces AND is sorted print sort "@animals"; # prints with spaces but doesn't sort print sort @animals; # sorts but doesn't have spaces print sort(@animals); # sorts but doesn't have spaces print sort("@animals"); # prints with spaces but doesn't sort print (sort("@animals")); # prints with spaces but doesn't print (sort(@animals)); # sorts but doesn't have spaces