Box::Calc::Item - The container class for the items you wish to pack.
version 1.0201
my $item = Box::Calc::Item->new(name => 'Apple', x => 3, y => 3.3, z => 4, weight => 5);
Constructor.
The width of your item.
The length of your item.
The thickness of your item.
The weight of your item.
The name of your item. If you're referring it back to an external system you may wish to use this field to store you item ids instead of item names.
Returns the name of this item.
Returns all the important details about this item as a hash reference.
This class installs Box::Calc::Role::Dimensional.
To install Box::Calc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Box::Calc
CPAN shell
perl -MCPAN -e shell install Box::Calc
For more information on module installation, please visit the detailed CPAN module installation guide.