$ perl -le ' -> @arr = qw{a b c}; -> map { tr/[a-z]/[A-Z]/ } @arr; -> print qq{@arr};' A B C $ perl -le ' -> @arr = qw{a b c}; -> map tr/[a-z]/[A-Z]/, @arr; -> print qq{@arr};' A B C $
Cheers,
JohnGG
In reply to Re: Comma's and blocks
by johngg
in thread Comma's and blocks
by zer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |