# find the place where the features start: $_ = until m/face=arial color=white/; # now read the dvd features FEATURE: while() { last FEATURE if m/blcorn.jpg/ or m/td/; m/src="(.).jpg">( )*([^<]+)/ and print "$3: $1\n"; } while($_ = ) { last if /

/; } $_ =~ s/.*//; $_ =~ s/<.*//; print "Title: $_"; $_ = ; s/^\s*//; s/<.*//; print $_; # that's the studio $_ = ; s/^\s*//; $_ =~ s/Reviewed by: //; $_ =~ s|||; $_ =~ s|

||; print $_; # that's the reviewer # now for the text of the review: REVIEW: while ( $_ = ) { last REVIEW if m/]*>||g; $r =~ s|||g; # now some magic to turn

into

, $r =~ s|\s*
|
|gs; # extra magic $r =~ s|
(\s*
)+|

|gs; # now we can recognize the headlines, and turn them into

$r =~ s|

\s*\s*([^<]+)\s*\s*
|

$1

|gs; print $r; close IN;