Ahhh
man I acxtually understand what you wrote!
I wrote:
Keys
= sort {$a cmp $b} substr( Keys,9,);
You wrote:
> sorted = sort { substr($a,8) cmp substr($b,8) } Keys
I wrote:
Sort is the command and you set the area of the string to
alphabatize in the
Comparision part of
the command. I didn't know that could be done.
Thanks so much... man.. I really see the beauty of it!
thanks!
Lou
Unsubscribing info is here: h
ttp://help.yahoo.com/help/us/groups/groups-32.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://g
roups.yahoo.com/group/perl-beginner/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http
://groups.yahoo.com/group/perl-beginner/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:perl-beginner-digest@yahoogroups.com
mailto:perl-beginner-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
perl-beginner-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|