File Coverage

blib/lib/Image/TextMode/Format/Bin.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package Image::TextMode::Format::Bin;
2              
3 3     3   4722 use Moose;
  0            
  0            
4              
5             extends 'Image::TextMode::Format', 'Image::TextMode::Canvas';
6              
7             sub extensions { return 'bin' }
8              
9             no Moose;
10              
11             __PACKAGE__->meta->make_immutable;
12              
13             =head1 NAME
14              
15             Image::TextMode::Format::Bin - read and write Bin files
16              
17             =head1 DESCRIPTION
18              
19             The Bin format is essentially a raw VGA video dump. It is a sequence of
20             character and attribute byte pairs. It holds no width information, so any
21             images over 80 columns will have to be described in an alternate way (i.e.
22             via SAUCE metadata).
23              
24             =head1 METHODS
25              
26             =head2 new( %args )
27              
28             Creates a Bin instance.
29              
30             =head2 extensions( )
31              
32             Returns 'bin'.
33              
34             =head1 AUTHOR
35              
36             Brian Cassidy E<lt>bricas@cpan.orgE<gt>
37              
38             =head1 COPYRIGHT AND LICENSE
39              
40             Copyright 2008-2013 by Brian Cassidy
41              
42             This library is free software; you can redistribute it and/or modify
43             it under the same terms as Perl itself.
44              
45             =cut
46              
47             1;