[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Perl tips



On Tue, 2002-11-26 at 04:21, Keith W. Sheffield wrote:
> Is this due to the locality settings?  The following works fine for me:
> 
> perl -e 'opendir D, ".";print map "$_\n", sort readdir(D);'

It's the LC_COLLATE thing. This has been popping up and biting bad
scripts for a little while now, I believe :o)

'locale' should give you a list of the lot, and their current language
settings.

Cheers,

Alex.

Attachment: signature.asc
Description: This is a digitally signed message part