17. 空気読んでくれるし
my @words = split /¥s/, "There is more than one way to do it.";
my @words2 = @words; # @words2 は @words がコピーされる。
my $count = @words; # $count に @words の要素数が入る。
say "@words2";
say "$count";
C:¥work>perl t.pl
There is more than one way to do it.
9