print "$file\n"; #### print "$title[1]\n"; #### my $file ="test.html"; my @title = split (".", $file); print "$file\n"; print "$title[1]\n";