in reply to Re: Rountines
in thread Rountines
Some other things you might not know, you can get the last index generically (not using 7). Do some research, and if you still can't figure it out... I'll tell you. Also, read the man page for sort. It will show you how to sort the way you want.
Oh, and one other thing. Don't print from within your subroutines... have them return the string, and print the return value:
print min_str( @strings );
|
|---|