in reply to Re: How does this code work? (from "Perl is Unix")
in thread How does this code work? (from "Perl is Unix")

Oh! I see now. This:

s/\A\s+//, s/\s+\z// for my @r = @_;

is the same as

my @r = @_; s/\A\s+//, s/\s+\z// for @r;

Thanks!