解析txt
my $txt_content_ref = $self->parse_novel( [ '/somedir/', '/someotherdir/somefile.txt' ], writer => 'some_writer', book => 'some_book', chapter_regex => qr/(第\d+章)/, );
To install Novel::Robot::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Novel::Robot::Parser
CPAN shell
perl -MCPAN -e shell install Novel::Robot::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.