On 10-09-14 11:22 AM, Jones, Jennifer wrote:
How about this?
my @sitenamekeys = map {lc($_)} sort keys %sites;
print "site @sitenamekeys\n";
exit 0
Which, strangely enough, won't be sorted. Try:
my @sitenamekeys = sort map { lc( $_ ) } keys %sites;
--
Just my 0.00000002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about coding.
The secret to great software: Fail early & often.
Eliminate software piracy: use only FLOSS.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/