Noah wrote:
Hi there,

Hello,

what is the easiest way to change all the keys that are now placed as
elements in an array to lowercase?

my @sitenamekeys = sort keys (%sites);

my @sitenamekeys = map lc, sort keys %sites;

print "site @sitenamekeys\n";
exit 0;



John
--
Any intelligent fool can make things bigger and
more complex... It takes a touch of genius -
and a lot of courage to move in the opposite
direction.                   -- Albert Einstein

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to