FB3::Validator - check file to be a valid FB3 book
my $Validator = FB3::Validator->new; if( my $ValidationError = $Validator->Validate( "path/to/book.fb3" )) { die "path/to/book.fb3 is not a valid FB3: $ValidationError"; }
To install FB3, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FB3
CPAN shell
perl -MCPAN -e shell install FB3
For more information on module installation, please visit the detailed CPAN module installation guide.