List Info

Thread: Need SORT & SUBSTR help please




Need SORT & SUBSTR help please
user name
2006-11-21 19:25:49
Keys
= sort {$a cmp $b} substr(Keys,9,);

I want to sort an array starting at the 9th character
of each string in the array.
I have a feeling i'm missing a delimiter, maybe????

The above code does not work.....
I know this is just outside of my knowledge on perl..
Help?Thanks,Lou
Happy Thanksgiving!




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/
 

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )