The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

VERSION

version 1.0

SYNOPSIS

    # Simple parsing all texts subtitle
    my $sub = Parse::SSA->new("./sub.ass");
    my $row = $sub->subrow();
    print($row->[5]->{'subtitle'});
    # subtitle text on 5 line.

DESCRIPTION

This module can parse text, time, comments, names from SSA/ASS subtitle fromat.

AUTHOR Konstantin Gromyko <disinterpreter@protonmail.ch<gt>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

https://en.wikipedia.org/wiki/SubStation_Alpha https://www.matroska.org/technical/specs/subtitles/ssa.html

subrow

  # Get all parsed data from subtitle
  my $row = $sub->subrow();

The subrow method gets the data which are present in a Dialogue section: begin time, end time, comment flag, character name, subtitles.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 6:

=pod directives shouldn't be over one line long! Ignoring all 3 lines of content