Box::Calc::BoxType - The container class for the types (sizes) of boxes that can be used for packing.
version 1.0206
my $item = Box::Calc::BoxType->new(name => 'Apple', x => 3, y => 3.3, z => 4, weight => 5 );
Constructor.
The interior width of your box.
The interior length of your box.
The interior thickness of your box.
The name of your box.
The weight of your box.
Returns the name of this box.
Returns the category name associated with this box type if any.
Returns the weight assigned to the void space left in the box due to void space filler such as packing peanuts. Defaults to 70% of the box weight.
Returns a hash ref with the properties of this box type.
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.