in reply to Re^2: Interval Computation Module Design
in thread Interval Computation Module Design
You could use the technique described in Re: use, require, and constructors to create a short name alias for your package
package Math::Interval::Computations; ... *{MIC::} = *{Math::Interval::Computations::}; 1;
And then your users can do
use Math::Interval::Computations; my $icObj = MIC->new(...); ...
Maybe Intvl->new(..) would be a better short name?
|
|---|