#!/usr/local/bin/perl use strict; use warnings; my @name = ("kate", "yuma", "kyoco"); my @rev = reverse @name; #list_context my $color = @name; #scolar_context print "@rev\n"; print "$color\n";