Page 1 of 1

Perl Cloud Client 1.0.2 incomplete?

Posted: Thu Oct 17, 2013 2:32 am
by bambi
Hi,

I just registered and was trying to make WURFL work with a simple test script. However, when I run my test script on my web server, I receive the following message:
coercion for "cache" failed: coercion for "cache" failed: coercion for "cache" failed: Can't locate Net/WURFL/ScientiaMobile/Cache.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/share/perl5/Module/Runtime.pm line 317.

The mentioned module "Cache.pm" is not in the distribution. Is this correct? I installed the API using the makefiles and the Cache.pm was also not created by the makefiles. Is there something I am missing? Is the distribution incomplete? Is the module created dynamically during runtime (and do I not have enough rights granted to my webserver to create this file)?

Marcel Versteeg

Re: Perl Cloud Client 1.0.2 incomplete?

Posted: Thu Oct 17, 2013 5:17 pm
by sm_support2
Hi there. Cache.pm is in the distribution. Did you find it?

Can you confirm which version of Cloud Client you are using?

thank you

Re: Perl Cloud Client 1.0.2 incomplete?

Posted: Fri Oct 18, 2013 3:29 am
by g14nluz
mmh, you could retry installing using cpan client, something like

$ cpan Net::WURFL::ScientiaMobile

or maybe

$ sudo cpan Net::WURFL::ScientiaMobile

depending on your distro (I'm assuming you are on a Linux box).

After installation is complete you can easily check that Cache.pm is available with

$ perldoc Net::WURFL::ScientiaMobile::Cache

Hope this can help

Ciaooooo

Re: Perl Cloud Client 1.0.2 incomplete?

Posted: Sun Oct 20, 2013 11:26 am
by bambi
I downloaded WurflCloudClient-Perl-1.0.2-Simple.zip from http://www.scientiamobile.com/wurflClou ... ds/id/2658 (I chose the Perl download link). This file does not contain the Cache.pm file (it does contain a Cache directory, but not the actual module).

I will try downloading it via CPAN.