WeBWorK Main Forum

integrating perl module

Re: integrating perl module

by Zak Zarychta -
Number of replies: 0

Glen,
many thanks, your fix worked a treat

The only thing to remember is that the full namespace of the module needs to be prepended to the function call so

#$sum12 =  addSF($n1,$n2); #needs to be written as below
$sum12 =  Math::SigFigs::addSF($n1,$n2);

Zak