in reply to Re^2: Net::UPS causing undefined array ref error
in thread Net::UPS causing undefined array ref error

I just got this module and have been playing with it. I haven't used perl for a long time, and didn't remember how to debug, so this thread was helpful :) Thanks. I also found after debugging for a while that in my case the request_rate method was failing because, according to UPS, "This measurement system is not valid for the selected country." Perhaps you are getting a similar error... To make it display any error you're getting, you can insert the following lines into UPS.pm at line 210...

210:
211: unless (defined $services) {
212: croak("rate(): services error - " . $self->errstr());
213: }
214:

Then

make clean
perl Makefile.PL
make
make install

and perhaps you'll be a little closer :)
  • Comment on Beginners Net::UPS problems and solution

Replies are listed 'Best First'.
Net::UPS still updated?
by mltsy (Initiate) on May 03, 2007 at 14:02 UTC
    Does anybody know if this module is still claimed by anybody? I tried contacting the author a couple times with no success. I've made a couple necessary fixes that will definitely help, but I don't know where to put them! I haven't done a lot of work on open source projects, or a lot of work in Perl - so I'm out of the loop on how it works ;)

    But it would be a shame if the open source recycle bin got emptied before this project made it back to the proverbial desktop!

      Hi mltsy,

      I guess you could Report a problem and provide your code that resolves the issue(s), at lease that way the user base has a way of accessing your fix(es). Regarding not being able to contact the module author I can't advise anything other than perhaps reading Is it worth tracking down absent cpan owners?.

      Hope this helps.

      Martin