NAME
Convert::Color::ScaleModels - converts between color numbers from scale model paint manufacturers (Humbrol, Revell, Tamiya)
VERSION
Version 0.01_01
SYNOPSIS
This module converts between color numbers from scale model paint manufacturers (Humbrol, Revell, Tamiya).
use Convert::Color::ScaleModels;
my $color = Convert::Color::ScaleModels->new();
my $revell_flesh_num = $color->convert('61', 'humbrol', 'revell');
print "manufacturer = $color->{man}\n";
print "color name = $color->{name}\n";
print "color number = $color->{num}\n";
print "color number (return value from method) = $revell_flesh_num\n";
The color number values are taken from Humbrol's own conversion tables (http://humbrol.com/convert-to-humbrol/conversion-tables/).
SUBROUTINES/METHODS
new Creates new color object. Each object carries a color name (name
), color number (num
) and manufacturer name (man
), undefined at object creation.
my $color = Convert::Color::ScaleModels->new();
convert Converts between color numbers from scale model paint manufacturers (Humbrol, Revell, Tamiya). The object properties (name
, num
and man
) are set after conversion. For instance, to convert color number 61 ('flesh matt') from Humbrol to the corresponding value from Revell (if available), use
my $revell_flesh_num = $color->convert(61, 'humbrol', 'revell'); # $revell_flesh_num = 35
AUTHOR
Ari Constancio, <affc at cpan.org>
BUGS
Please report any bugs or feature requests to bug-convert-color-scalemodels at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Convert-Color-ScaleModels. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Convert::Color::ScaleModels
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Convert-Color-ScaleModels
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2012 Ari Constancio.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.