Perl object-oriented interface for subtitles