> Compare: > > my @trimmed = map trim, @strings; # trim called in array context > > my @trimmed = map { trim( my $trimmed = $_ ); $trimmed } @strings; # > trim called in void context > Is it set in stone yet that trim takes only one arg (has a ($) prototype)? Compare: my @trimmed = trim @strings; # handling multiple arguments is orthogonal to in-place or not -- "Lay off that whiskey, and let that cocaine be!" -- Johnny CashThread Previous | Thread Next