Help for this page

Select Code to Download


  1. or download this
    if ($_ =~ /\.txt/){
            chomp $_;
    ...
            $length{$artist}{$song_title} = $song_title;
        print "$_"; # print this file/directory's name
    
  2. or download this
    open FH, "<$_" or die $!;
        print "output for file: $_\n";
    ...
            $length{$artist}{genre} = $genre;
            print $album, "\n";
            }