in reply to Re: pipe one function output to another
in thread pipe one function output to another

for (@arr) { $_ = uc; }
That may be the "Perl way", but according to the Damian Conway-authored Perl Best Practices, a better way would be:
for my $index (@arr) { $index = uc $index; }