in reply to •Re: Re: Print the oldest file in a directory.
in thread Print the oldest file in a directory.

Yup, DOH!. Technically I don't even need the <=>. I could just take the last output of glob. Still en expensive way of doing it. After reviewing the input here it would definately be better to perform an ST on an array populated using opendir/readdir.

Thanks for your input everybody.

  • Comment on Re: &bull;Re: Re: Print the oldest file in a directory.