more useful options | |
PerlMonks |
Re: Array slice vs foreach and pushby vinian (Beadle) |
on Nov 10, 2011 at 11:00 UTC ( [id://937329]=note: print w/replies, xml ) | Need Help?? |
perl -w -le 'my @chars = qw( a b c ? : ! f g ); my @up_chars = map { tr/a-z/A-Z/; $_ } @chars; print "@up_chars"'
hope this would help.
In Section
Seekers of Perl Wisdom
|
|