in reply to Re: sorting a filelist array by filename
in thread sorting a filelist array by filename

Dear tweetiepooh, thanks a lot for your clear and useful code. Exactly that was what I needed! Anyway util's code is very similar, but roubi uses the File::Basename modul which I should avoid in this case, cause I must make a very pure and native perl code, without using any modul.

Thx for all, again!
  • Comment on Re^2: sorting a filelist array by filename

Replies are listed 'Best First'.
Re^3: sorting a filelist array by filename
by toolic (Bishop) on May 19, 2009 at 23:36 UTC
    the File::Basename modul which I should avoid in this case, cause I must make a very pure and native perl code, without using any modul
    File::Basename is a Core module which is included with every installation of Perl. There is no need to download and install it from CPAN, if that's what you're worried about.
      Hi toolic,

      thanks for your reflection on using the File::Basename. You're right, and I use it quite frequently, anyway, but in this case I'll have to compile my script to binary (os: win) and as I use tinyperl (free) for compiling, which put all necessary items into a LibZip. I can awoid using LibZip if I omit using any modul. That is the real reason of my fighting against the excellent File::Basename modul.