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

Re: [Sheflug] Perl tips



On Mon, Nov 25, 2002 at 02:52:42PM +0000, Steve Tickle wrote:
> Apologies for this since it's not strictly a Linux problem but I'm trying 
> to do what I hoped was the relatively simple task of listing the contents 
> of a directory in alphabetical order using a perl script.

Perl's sorting by default isn't alphabetical really, so you're probably
interested in the block argument to sort(); 

> If one of you perl wizards is willing to help me, it might be better to 
> take it off list and I'll explain my problem and exactly what it is I'm 
> trying to do.

For your future reference,
	
	http://www.perlmonks.org/

is monktastic.

Cheers,

Alex.

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.