can't locate object method via perl package

2013-09-12 Thread Gurunath Katagi
Hi everyone.. I am running a perl program which uses Math::Vector. But i am getting the following error Can't locate object method "UnitVecPoints" via package "Math::Vector" at /usr/local/share/perl5/Math/Vector.pm line 135. Can anybody look into it and let me know how to proceed ? The module is c

Re: [Bangalore-pm] can't locate object method via perl package

2013-09-12 Thread Chankey Pathak
I looked at the source of Vector.pm and I found that there is no method as "UnitVecPoints". There is however a method named "UnitVectorPoints". I think you are looking for that. Try to rename it in Vector.pm. On Thu, Sep 12, 2013 at 4:23 PM, Gurunath Katagi wrote: > Hi everyone.. > I am running

Re: negate, !!$a, $a!!, flip-flop

2013-09-12 Thread John W. Krahn
Hans Ginzel wrote: Hello! Hello, Is there a shorter way to write $a = ! $a, please? Something analogous to ++ and -- operators like $a !! or !! $a would negate the variable $a and return its previous or new value respectively. You can do that if you use a reference to a scalar like this: