On Jul 28, perl.org said:

>I have a list of files I want to case-insensitive sort by extension,
>files with no extension appearing first.  It should handle both Windows
>and Unix directory separators.  I think I have working code, but I am
>interested in the various syntax for this one - there MUST be a better
>way than my feeble attempt:

I would use File::Basename so that I can be sure it works on all
platforms.  What is your take on files with multiple extensions, like
program.pl.bak or jeff.pinyan.txt?

-- 
Jeff "japhy" Pinyan         %  How can we ever be the sold short or
RPI Acacia Brother #734     %  the cheated, we who for every service
http://japhy.perlmonk.org/  %  have long ago been overpaid?
http://www.perlmonks.org/   %    -- Meister Eckhart


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to