in reply to Strange warning when using Math::Trig

Hi

I never used the module, but while importing the new trigonometric functions a prototype conflict occurs, meaning the allowed parameters differ from a previous definition.

The modules pod says (in the "Bugs"-Paragraph): "Saying use Math::Trig; exports many mathematical routines in the caller environment and even overrides some (sin, cos)."

Did you use any other modules overiding these functions prior to import Math::Trig? If yes does this "problem" still occure when you only use Math::Trig?

If not you might want to ignore or disable these warnings. Or better contact the author.

  • Comment on Re: Strange warning when using Math::Trig

Replies are listed 'Best First'.
Re^2: Strange warning when using Math::Trig
by hda (Chaplain) on Nov 11, 2008 at 12:34 UTC
    Thanks for your answer! That was exactly what happened: I had a "use PDL;" call from an older version of the program that I forgot to delete.