Box::Calc::Item - The container class for the items you wish to pack.
version 0.0500
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.
Defaults to 1. The number of copies of this item that need to be packed.
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.