In the name of TMTOWTDI, here's another way (though I actually like Kevin's solution better). If for some reason you want the other text, like the author or the publisher, it's in @text.
open FILE, "sample.txt";
my %list;
while (<FILE>) {
my @text;
do {
if ($_ =~ /[a-z]+/i) {...