For really simple html you can use regular expressions. For more complex data it would be better to search CPAN for a good html parser module and learn how to use it (which I haven't got around to doing yet). Meanwhile the following script should do what you want.
open my $fh, '<', '/home/david/Programming/Perl/data/list.txt';
push @list, $1;
print "Here is the list:\n";
print join(", ", @list);