| 1 | package D64::Disk::Layout; | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | =head1 NAME | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | D64::Disk::Layout - Handling entire Commodore (D64/D71/D81) disk image data in pure Perl | ||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||
| 7 | =head1 SYNOPSIS | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | use D64::Disk::Layout; | ||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||
| 11 | # Create an empty disk layout instance: | ||||||||||||||||||||||||||||
| 12 | my $layout = D64::Disk::Layout->new(); | ||||||||||||||||||||||||||||
| 13 | |||||||||||||||||||||||||||||
| 14 | # Read disk image layout from existing file: | ||||||||||||||||||||||||||||
| 15 | my $layout = D64::Disk::Layout->new('image.d64'); | ||||||||||||||||||||||||||||
| 16 | |||||||||||||||||||||||||||||
| 17 | # Get disk sector object from a disk layout: | ||||||||||||||||||||||||||||
| 18 | my $sector_layout = $layout->sector(track => $track, sector => $sector); | ||||||||||||||||||||||||||||
| 19 | |||||||||||||||||||||||||||||
| 20 | # Put new data into specific disk layout sector: | ||||||||||||||||||||||||||||
| 21 | $layout->sector(data => $sector_layout); | ||||||||||||||||||||||||||||
| 22 | # Update an arbitrary disk layout sector with data: | ||||||||||||||||||||||||||||
| 23 | $layout->sector(data => $sector_layout, track => $track, sector => $sector); | ||||||||||||||||||||||||||||
| 24 | |||||||||||||||||||||||||||||
| 25 | # Fetch disk layout data as an array of 683 sector objects: | ||||||||||||||||||||||||||||
| 26 | my @sector_layouts = $layout->sectors(); | ||||||||||||||||||||||||||||
| 27 | |||||||||||||||||||||||||||||
| 28 | # Update disk layout given an array of arbitrary sector objects: | ||||||||||||||||||||||||||||
| 29 | $layout->sectors(sectors => \@sector_layouts); | ||||||||||||||||||||||||||||
| 30 | |||||||||||||||||||||||||||||
| 31 | # Fetch disk layout data as a scalar of 683 * 256 bytes: | ||||||||||||||||||||||||||||
| 32 | my $data = $layout->data(); | ||||||||||||||||||||||||||||
| 33 | |||||||||||||||||||||||||||||
| 34 | # Update disk layout providing 683 * 256 bytes of scalar data: | ||||||||||||||||||||||||||||
| 35 | $layout->data(data => $data); | ||||||||||||||||||||||||||||
| 36 | |||||||||||||||||||||||||||||
| 37 | # Print out nicely formatted human-readable form of a track/sector data: | ||||||||||||||||||||||||||||
| 38 | $layout->print(fh => $fh, track => $track, sector => $sector); | ||||||||||||||||||||||||||||
| 39 | |||||||||||||||||||||||||||||
| 40 | =head1 DESCRIPTION | ||||||||||||||||||||||||||||
| 41 | |||||||||||||||||||||||||||||
| 42 | C<D64::Disk::Layout> provides a helper class for C<D64::Disk> module, enabling users to easily access and manipulate entire D64/D71/D81 disk image data in an object oriented way without the hassle of worrying about the meaning of individual bits and bytes located on every track and sector of a physical disk image. The whole family of C<D64::Disk::Layout> modules has been implemented in pure Perl as an alternative to Per Olofsson's "diskimage.c" library originally written in an ANSI C. | ||||||||||||||||||||||||||||
| 43 | |||||||||||||||||||||||||||||
| 44 | C<D64::Disk::Layout> is completely unaware of an internal structure, configuration and meaning of individual sectors on disk. It only knows how to fetch and store bytes of data. Standard C<D64> disk image of C<170> kbytes is split into C<683> sectors on C<35> tracks, each of the sectors holding C<256> bytes. See description of the L<D64::Disk> module for a detailed description on accessing individual disk image files and preserving disk directory structure. | ||||||||||||||||||||||||||||
| 45 | |||||||||||||||||||||||||||||
| 46 | =head1 METHODS | ||||||||||||||||||||||||||||
| 47 | |||||||||||||||||||||||||||||
| 48 | =cut | ||||||||||||||||||||||||||||
| 49 | |||||||||||||||||||||||||||||
| 50 | 6 | ▶ | use bytes; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 51 | 6 | ▶ | use strict; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 52 | 6 | ▶ | use utf8; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 53 | 6 | ▶ | use warnings; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 54 | |||||||||||||||||||||||||||||
| 55 | 6 | our $VERSION = '0.03'; | |||||||||||||||||||||||||||
| 56 | |||||||||||||||||||||||||||||
| 57 | 6 | ▶ | use base qw(D64::Disk::Layout::Base); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 58 | 6 | ▶ | use Carp qw(carp croak); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 59 | 6 | ▶ | use D64::Disk::Layout::Sector; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 60 | 6 | ▶ | use List::MoreUtils qw(zip6); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 61 | |||||||||||||||||||||||||||||
| 62 | # Number of bytes per sector storage: | ||||||||||||||||||||||||||||
| 63 | 6 | our $bytes_per_sector = 256; | |||||||||||||||||||||||||||
| 64 | |||||||||||||||||||||||||||||
| 65 | # Number of sectors per track storage: | ||||||||||||||||||||||||||||
| 66 | 6 | our @sectors_per_track = ( 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, # tracks 1-17 | |||||||||||||||||||||||||||
| 67 | 19, 19, 19, 19, 19, 19, 19, # tracks 18-24 | ||||||||||||||||||||||||||||
| 68 | 18, 18, 18, 18, 18, 18, # tracks 25-30 | ||||||||||||||||||||||||||||
| 69 | 17, 17, 17, 17, 17, # tracks 31-35 | ||||||||||||||||||||||||||||
| 70 | # 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, # tracks 31-40 | ||||||||||||||||||||||||||||
| 71 | ); | ||||||||||||||||||||||||||||
| 72 | |||||||||||||||||||||||||||||
| 73 | =head2 new | ||||||||||||||||||||||||||||
| 74 | |||||||||||||||||||||||||||||
| 75 | Create empty unformatted D64 disk image layout: | ||||||||||||||||||||||||||||
| 76 | |||||||||||||||||||||||||||||
| 77 | my $d64DiskLayoutObj = D64::Disk::Layout->new(); | ||||||||||||||||||||||||||||
| 78 | |||||||||||||||||||||||||||||
| 79 | Read D64 disk image layout from existing file: | ||||||||||||||||||||||||||||
| 80 | |||||||||||||||||||||||||||||
| 81 | my $d64DiskLayoutObj = D64::Disk::Layout->new('image.d64'); | ||||||||||||||||||||||||||||
| 82 | |||||||||||||||||||||||||||||
| 83 | A valid D64::Disk::Layout object is returned upon success, an undefined value otherwise. | ||||||||||||||||||||||||||||
| 84 | |||||||||||||||||||||||||||||
| 85 | =cut | ||||||||||||||||||||||||||||
| 86 | |||||||||||||||||||||||||||||
| 87 | 19 | ▶ | sub new { | ||||||||||||||||||||||||||
|
Subroutine
new: called CC=2 SCAR=7.6
Pod
documented
| |||||||||||||||||||||||||||||
| 88 | 19 | my ($class) = shift ; | |||||||||||||||||||||||||||
| 89 | 19 | my $self = $class->SUPER::new(@_); | |||||||||||||||||||||||||||
| 90 | 19 | ▶ | if (defined $self) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 91 | 19 | bless $self, $class; | |||||||||||||||||||||||||||
| 92 | 19 | return $self; | |||||||||||||||||||||||||||
| 93 | } | ||||||||||||||||||||||||||||
| 94 | else { | ||||||||||||||||||||||||||||
| 95 | 0 | carp 'Failed to create new ' . __PACKAGE__ . ' object'; | |||||||||||||||||||||||||||
| 96 | 0 | return undef; | |||||||||||||||||||||||||||
| 97 | } | ||||||||||||||||||||||||||||
| 98 | } | ||||||||||||||||||||||||||||
| 99 | |||||||||||||||||||||||||||||
| 100 | 19 | ▶ | sub _initialize { | ||||||||||||||||||||||||||
|
Subroutine
_initialize: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 101 | 19 | my ($self) = shift; | |||||||||||||||||||||||||||
| 102 | 19 | $self->SUPER::_initialize(@_); | |||||||||||||||||||||||||||
| 103 | 19 | return 1; | |||||||||||||||||||||||||||
| 104 | } | ||||||||||||||||||||||||||||
| 105 | |||||||||||||||||||||||||||||
| 106 | =head2 sector | ||||||||||||||||||||||||||||
| 107 | |||||||||||||||||||||||||||||
| 108 | Retrieve disk sector object from a disk layout: | ||||||||||||||||||||||||||||
| 109 | |||||||||||||||||||||||||||||
| 110 | my $sectorObj = $d64DiskLayoutObj->sector(track => $track, sector => $sector); | ||||||||||||||||||||||||||||
| 111 | |||||||||||||||||||||||||||||
| 112 | Insert new data into specific disk layout sector: | ||||||||||||||||||||||||||||
| 113 | |||||||||||||||||||||||||||||
| 114 | $d64DiskLayoutObj->sector(data => $sectorObj); | ||||||||||||||||||||||||||||
| 115 | |||||||||||||||||||||||||||||
| 116 | Update an arbitrary disk layout sector with data: | ||||||||||||||||||||||||||||
| 117 | |||||||||||||||||||||||||||||
| 118 | $d64DiskLayoutObj->sector(data => $sectorObj, track => $track, sector => $sector); | ||||||||||||||||||||||||||||
| 119 | |||||||||||||||||||||||||||||
| 120 | =cut | ||||||||||||||||||||||||||||
| 121 | |||||||||||||||||||||||||||||
| 122 | 4103 | ▶ | sub sector { | ||||||||||||||||||||||||||
|
Subroutine
sector: called CC=4 SCAR=13.9
Pod
documented
| |||||||||||||||||||||||||||||
| 123 | 4103 | my ($self, %args) = @_; | |||||||||||||||||||||||||||
| 124 | 4103 | my $track = $args{track}; | |||||||||||||||||||||||||||
| 125 | 4103 | my $sector = $args{sector}; | |||||||||||||||||||||||||||
| 126 | 4103 | my $data = $args{data}; | |||||||||||||||||||||||||||
| 127 | 4103 | ▶ | if (defined $data) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 128 | 2 | ▶ | unless (defined $track && defined $sector) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
defined $track and defined $sector
MC/DC50%1/2
defined $track and defined $sector
defined $track
defined $sector
Truth table66%2/3
A and B
A= defined $trackB= defined $sector
| |||||||||||||||||||||||||||||
| 129 | 1 | $track = $data->track(); | |||||||||||||||||||||||||||
| 130 | 1 | $sector = $data->sector(); | |||||||||||||||||||||||||||
| 131 | } | ||||||||||||||||||||||||||||
| 132 | 2 | $self->sector_data($track, $sector, $data->data()); | |||||||||||||||||||||||||||
| 133 | } | ||||||||||||||||||||||||||||
| 134 | 4103 | my @data = $self->sector_data($track, $sector); | |||||||||||||||||||||||||||
| 135 | 4103 | return D64::Disk::Layout::Sector->new(data => \@data, track => $track, sector => $sector); | |||||||||||||||||||||||||||
| 136 | } | ||||||||||||||||||||||||||||
| 137 | |||||||||||||||||||||||||||||
| 138 | =head2 sectors | ||||||||||||||||||||||||||||
| 139 | |||||||||||||||||||||||||||||
| 140 | Fetch disk layout data as a flattened array of 683 sector objects: | ||||||||||||||||||||||||||||
| 141 | |||||||||||||||||||||||||||||
| 142 | my @sector_layouts = $d64DiskLayoutObj->sectors(); | ||||||||||||||||||||||||||||
| 143 | |||||||||||||||||||||||||||||
| 144 | Update disk layout given an array of arbitrary sector objects: | ||||||||||||||||||||||||||||
| 145 | |||||||||||||||||||||||||||||
| 146 | $d64DiskLayoutObj->sectors(sectors => \@sector_layouts); | ||||||||||||||||||||||||||||
| 147 | |||||||||||||||||||||||||||||
| 148 | =cut | ||||||||||||||||||||||||||||
| 149 | |||||||||||||||||||||||||||||
| 150 | 5 | ▶ | sub sectors { | ||||||||||||||||||||||||||
|
Subroutine
sectors: called CC=3 SCAR=11.0
Pod
documented
| |||||||||||||||||||||||||||||
| 151 | 5 | my ($self, %args) = @_; | |||||||||||||||||||||||||||
| 152 | 5 | my $sectors = $args{sectors}; | |||||||||||||||||||||||||||
| 153 | 5 | ▶ | if (defined $sectors) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 154 | 2 | for my $sectorObj (@{$sectors}) { | |||||||||||||||||||||||||||
| 155 | 704 | my $track = $sectorObj->track(); | |||||||||||||||||||||||||||
| 156 | 704 | my $sector = $sectorObj->sector(); | |||||||||||||||||||||||||||
| 157 | 704 | my $data = $sectorObj->data(); | |||||||||||||||||||||||||||
| 158 | 704 | $self->sector_data($track, $sector, $data); | |||||||||||||||||||||||||||
| 159 | } | ||||||||||||||||||||||||||||
| 160 | } | ||||||||||||||||||||||||||||
| 161 | 5 | my @sector_layouts = map { @{$_} } $self->tracks(); | |||||||||||||||||||||||||||
| 162 | 5 | return @sector_layouts; | |||||||||||||||||||||||||||
| 163 | } | ||||||||||||||||||||||||||||
| 164 | |||||||||||||||||||||||||||||
| 165 | =head2 tracks | ||||||||||||||||||||||||||||
| 166 | |||||||||||||||||||||||||||||
| 167 | Fetch disk layout data as an array of 35 arrays of sector objects allocated by their respective track numbers: | ||||||||||||||||||||||||||||
| 168 | |||||||||||||||||||||||||||||
| 169 | my @track_layouts = $d64DiskLayoutObj->tracks(); | ||||||||||||||||||||||||||||
| 170 | |||||||||||||||||||||||||||||
| 171 | =cut | ||||||||||||||||||||||||||||
| 172 | |||||||||||||||||||||||||||||
| 173 | 6 | ▶ | sub tracks { | ||||||||||||||||||||||||||
|
Subroutine
tracks: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||||||||||
| 174 | 6 | my ($self) = @_; | |||||||||||||||||||||||||||
| 175 | 6 | my @track_numbers = (1 .. @sectors_per_track); | |||||||||||||||||||||||||||
| 176 | my @track_layouts = map { | ||||||||||||||||||||||||||||
| 177 | 6 | my ($num_sectors, $track) = @{$_}; | |||||||||||||||||||||||||||
| 178 | [ | ||||||||||||||||||||||||||||
| 179 | map { | ||||||||||||||||||||||||||||
| 180 | 210 | my $sector = $_; | |||||||||||||||||||||||||||
| 181 | 4098 | $self->sector(track => $track, sector => $sector); | |||||||||||||||||||||||||||
| 182 | } (0 .. $num_sectors - 1) | ||||||||||||||||||||||||||||
| 183 | ]; | ||||||||||||||||||||||||||||
| 184 | } zip6 @sectors_per_track, @track_numbers; | ||||||||||||||||||||||||||||
| 185 | 6 | return @track_layouts; | |||||||||||||||||||||||||||
| 186 | } | ||||||||||||||||||||||||||||
| 187 | |||||||||||||||||||||||||||||
| 188 | =head2 data | ||||||||||||||||||||||||||||
| 189 | |||||||||||||||||||||||||||||
| 190 | Fetch disk layout data as a scalar of 683 * 256 bytes: | ||||||||||||||||||||||||||||
| 191 | |||||||||||||||||||||||||||||
| 192 | my $data = $d64DiskLayoutObj->data(); | ||||||||||||||||||||||||||||
| 193 | |||||||||||||||||||||||||||||
| 194 | Update disk layout providing 683 * 256 bytes of scalar data: | ||||||||||||||||||||||||||||
| 195 | |||||||||||||||||||||||||||||
| 196 | $d64DiskLayoutObj->data(data => $data); | ||||||||||||||||||||||||||||
| 197 | |||||||||||||||||||||||||||||
| 198 | =cut | ||||||||||||||||||||||||||||
| 199 | |||||||||||||||||||||||||||||
| 200 | 3 | ▶ | sub data { | ||||||||||||||||||||||||||
|
Subroutine
data: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||
| 201 | 3 | my ($self, %args) = @_; | |||||||||||||||||||||||||||
| 202 | 3 | my $data = $args{data}; | |||||||||||||||||||||||||||
| 203 | 3 | my @track_numbers = (1 .. @sectors_per_track); | |||||||||||||||||||||||||||
| 204 | my $result = join '', map { | ||||||||||||||||||||||||||||
| 205 | 3 | my ($num_sectors, $track) = @{$_}; | |||||||||||||||||||||||||||
| 206 | join '', map { | ||||||||||||||||||||||||||||
| 207 | 105 | my $sector = $_; | |||||||||||||||||||||||||||
| 208 | 2049 | ▶ | if (defined $data) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 209 | 683 | $self->sector_data($track, $sector, split //, substr $data, 0x00, $bytes_per_sector, ''); | |||||||||||||||||||||||||||
| 210 | } | ||||||||||||||||||||||||||||
| 211 | 2049 | $self->sector_data($track, $sector); | |||||||||||||||||||||||||||
| 212 | } (0 .. $num_sectors - 1); | ||||||||||||||||||||||||||||
| 213 | } zip6 @sectors_per_track, @track_numbers; | ||||||||||||||||||||||||||||
| 214 | 3 | return $result; | |||||||||||||||||||||||||||
| 215 | } | ||||||||||||||||||||||||||||
| 216 | |||||||||||||||||||||||||||||
| 217 | =head2 print | ||||||||||||||||||||||||||||
| 218 | |||||||||||||||||||||||||||||
| 219 | Print out nicely formatted human-readable form of a track/sector data into any given IO::Handle: | ||||||||||||||||||||||||||||
| 220 | |||||||||||||||||||||||||||||
| 221 | $d64DiskLayoutObj->print(fh => $fh, track => $track, sector => $sector); | ||||||||||||||||||||||||||||
| 222 | |||||||||||||||||||||||||||||
| 223 | =cut | ||||||||||||||||||||||||||||
| 224 | |||||||||||||||||||||||||||||
| 225 | 2 | ▶ | sub print { | ||||||||||||||||||||||||||
|
Subroutine
print: called CC=5 SCAR=16.2
Pod
documented
| |||||||||||||||||||||||||||||
| 226 | 2 | my ($self, %params) = @_; | |||||||||||||||||||||||||||
| 227 | 2 | my $track = $params{track}; | |||||||||||||||||||||||||||
| 228 | 2 | my $sector = $params{sector}; | |||||||||||||||||||||||||||
| 229 | |||||||||||||||||||||||||||||
| 230 | 2 | ▶ | my $fh = $params{fh} || *STDOUT; | ||||||||||||||||||||||||||
|
Condition33%1/3
$params{'fh'} || *STDOUT
MC/DC0%0/2
$params{'fh'} || *STDOUT
$params{'fh'}
*STDOUT
Truth table33%1/3
A || B
A= $params{'fh'}B= *STDOUT
| |||||||||||||||||||||||||||||
| 231 | 2 | my $stdout = select $fh; | |||||||||||||||||||||||||||
| 232 | |||||||||||||||||||||||||||||
| 233 | 2 | my @data = $self->sector_data($track, $sector); | |||||||||||||||||||||||||||
| 234 | |||||||||||||||||||||||||||||
| 235 | # Fail on invalid track/sector value combinations: | ||||||||||||||||||||||||||||
| 236 | 2 | ▶ | carp 'Failed to print track/sector=' . $track . '/' . $sector . ' data' unless @data; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 237 | |||||||||||||||||||||||||||||
| 238 | 2 | ▶ | for (my $i = 0x00; $i < 0x0100; $i += 0x10) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 239 | 32 | printf q{%02X:}, $i; | |||||||||||||||||||||||||||
| 240 | 32 | ▶ | for (my $j = 0x00; $j < 0x10; $j++) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 241 | 512 | printf q{ %02x}, ord $data[$i + $j]; | |||||||||||||||||||||||||||
| 242 | } | ||||||||||||||||||||||||||||
| 243 | 32 | print qq{\n}; | |||||||||||||||||||||||||||
| 244 | } | ||||||||||||||||||||||||||||
| 245 | |||||||||||||||||||||||||||||
| 246 | 2 | select $stdout; | |||||||||||||||||||||||||||
| 247 | 2 | return; | |||||||||||||||||||||||||||
| 248 | } | ||||||||||||||||||||||||||||
| 249 | |||||||||||||||||||||||||||||
| 250 | =head1 BUGS | ||||||||||||||||||||||||||||
| 251 | |||||||||||||||||||||||||||||
| 252 | There are no known bugs at the moment. Please report any bugs or feature requests. | ||||||||||||||||||||||||||||
| 253 | |||||||||||||||||||||||||||||
| 254 | =head1 EXPORT | ||||||||||||||||||||||||||||
| 255 | |||||||||||||||||||||||||||||
| 256 | None. No method is exported into the caller's namespace either by default or explicitly. | ||||||||||||||||||||||||||||
| 257 | |||||||||||||||||||||||||||||
| 258 | =head1 SEE ALSO | ||||||||||||||||||||||||||||
| 259 | |||||||||||||||||||||||||||||
| 260 | L<D64::Disk::Image>, L<D64::Disk::Layout::Sector>, L<D64::Disk::Layout::Base>. | ||||||||||||||||||||||||||||
| 261 | |||||||||||||||||||||||||||||
| 262 | =head1 AUTHOR | ||||||||||||||||||||||||||||
| 263 | |||||||||||||||||||||||||||||
| 264 | Pawel Krol, E<lt>pawelkrol@cpan.orgE<gt>. | ||||||||||||||||||||||||||||
| 265 | |||||||||||||||||||||||||||||
| 266 | =head1 VERSION | ||||||||||||||||||||||||||||
| 267 | |||||||||||||||||||||||||||||
| 268 | Version 0.03 (2021-04-24) | ||||||||||||||||||||||||||||
| 269 | |||||||||||||||||||||||||||||
| 270 | =head1 COPYRIGHT AND LICENSE | ||||||||||||||||||||||||||||
| 271 | |||||||||||||||||||||||||||||
| 272 | Copyright 2021 by Pawel Krol <pawelkrol@cpan.org>. | ||||||||||||||||||||||||||||
| 273 | |||||||||||||||||||||||||||||
| 274 | This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. | ||||||||||||||||||||||||||||
| 275 | |||||||||||||||||||||||||||||
| 276 | =cut | ||||||||||||||||||||||||||||
| 277 | |||||||||||||||||||||||||||||
| 278 | 6 | 1; | |||||||||||||||||||||||||||
| 279 | |||||||||||||||||||||||||||||
| 280 | __END__ | ||||||||||||||||||||||||||||