Subject: | Functional interface irregularities |
Hi Kurt,
I just installed your Crypt::OTP package from CPAN onto my Debian Linux 3.0 server that is running Perl 5.6.1. While trying to incorporate it into my code, I started using the OO methods but received the following error:
Can't locate object method "OTP" via package "No such file or directory" (perhaps you forgot to load "No such file or directory"?)
I then tried using the functional interface following the documented methods and received the following error:
Undefined subroutine &Crypt::OTP called
I have included 'use Crypt::OTP' in my code. After some experimentation, I discovered that simply calling OTP() would work.
So, can you help me understand what is going on with my code that is making it not work according to your documentation? I will mention that I am using a key that is being loaded from a hash reference. Let me know if you need me to do any further testing.
Thanks,
William