NAME
D64::Disk::Status - CBM floppy error messages and disk drive status details of miscellaneous Commodore (D64/D71/D81) disk image operations
SYNOPSIS
use D64::Disk::Status;
# Create a new disk status object instance:
my $status = D64::Disk::Status->new(
code => $code,
error => $error,
message => $message,
description => $description,
);
# Get error code from status object:
my $code = $status->code();
# Get error text from status object:
my $error = $status->error();
# Get error message from status object:
my $message = $status->message();
# Get error description from status object:
my $describe = $status->description();
DESCRIPTION
D64::Disk::Status
provides a helper class for D64::Disk::Layout
module that lets users easily identify CBM floppy error messages and disk drive status details (like error codes, and descriptive diagnostic messages) signalled as a result of miscellaneous Commodore (D64/D71/D81) disk image operations.
METHODS
new
Create a new disk status instance:
my $status = D64::Disk::Status->new(
code => $code,
error => $error,
message => $message,
description => $description,
);
code
Get error code from status object:
my $code = $status->code();
error
Get error text from status object:
my $error = $status->error();
message
Get error message from status object:
my $message = $status->message();
description
Get error description from status object:
my $describe = $status->description();
BUGS
There are no known bugs at the moment. Please report any bugs or feature requests.
EXPORT
None. No method is exported into the caller's namespace neither by default nor explicitly.
SEE ALSO
D64::Disk::Layout, D64::Disk::Layout::Dir, D64::Disk::Status::Factory.
AUTHOR
Pawel Krol, <pawelkrol@cpan.org>.
VERSION
Version 0.03 (2013-03-09)
COPYRIGHT AND LICENSE
Copyright 2013 by Pawel Krol <pawelkrol@cpan.org>.
This library is free open source software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
PLEASE NOTE THAT IT COMES WITHOUT A WARRANTY OF ANY KIND!