LEGO::Colors is a simple accessor class, used to store information about various different colors that LEGO pieces can have. Generally, you won't be creating these yourself -- they're just convenient ways to pass information back from the LEGO::Colors module. Please see that documentation for more information.
SYNOPSIS
use LEGO::Color;
use strict;
my $green = LEGO::Color->new(
name => 'green',
red => 0,
green => 255,
blue => 0,
);
# Or, more likely...
my $green = LEGO::Colors->get_color('green');
Product's homepage
Requirements:
· Perl