Help for this page

Select Code to Download


  1. or download this
    use strict;
    use File::Find;
    ...
    open(DB, ">$dbpath/$cod.txt") || die $!;
    
    print DB map { s/\.mp3\z/\n/; $_ } sort @files;
    
  2. or download this
    use strict;
    use File::Find;
    ...
    sub trim {
       return map { s/\.mp3\z/\n/; $_ } sort @_;
    }