PATH=/usr/bin:/bin:/home/fly1600/var/megalib/bin Start 2014-08-29T14:17:42 ActivePerl-1600 CPAN-2.00 Reading '/home/fly1600/var/cpan/Metadata' Database was generated on Fri, 29 Aug 2014 19:41:02 GMT Running make for M/MT/MTMAIL/Geo-What3Words-1.0.4.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/M/MT/MTMAIL/Geo-What3Words-1.0.4.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/M/MT/MTMAIL/CHECKSUMS Checksum for /home/fly1600/var/cpan/sources/authors/id/M/MT/MTMAIL/Geo-What3Words-1.0.4.tar.gz ok Geo-What3Words-1.0.4/ Geo-What3Words-1.0.4/CHANGES Geo-What3Words-1.0.4/dist.ini Geo-What3Words-1.0.4/lib/ Geo-What3Words-1.0.4/lib/Geo/ Geo-What3Words-1.0.4/lib/Geo/What3Words.pm Geo-What3Words-1.0.4/LICENSE Geo-What3Words-1.0.4/Makefile.PL Geo-What3Words-1.0.4/MANIFEST Geo-What3Words-1.0.4/META.json Geo-What3Words-1.0.4/META.yml Geo-What3Words-1.0.4/README Geo-What3Words-1.0.4/README.md Geo-What3Words-1.0.4/t/ Geo-What3Words-1.0.4/t/base.t Geo-What3Words-1.0.4/t/critic.t Geo-What3Words-1.0.4/t/perlcriticrc CPAN.pm: Building M/MT/MTMAIL/Geo-What3Words-1.0.4.tar.gz >>> /home/fly1600/ap1600/bin/perl-static Makefile.PL closedir() attempted on invalid dirhandle GEN0 at /home/fly1600/ap1600/lib/DirHandle.pm line 51. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Geo::What3Words Writing MYMETA.yml and MYMETA.json >>> make cp lib/Geo/What3Words.pm blib/lib/Geo/What3Words.pm Manifying blib/man3/Geo::What3Words.3 MTMAIL/Geo-What3Words-1.0.4.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /home/fly1600/ap1600/bin/perl-static "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/base.t .... 1..28 ok 1 - use Geo::What3Words; ok 2 - missing key ok 3 - An object of class 'Geo::What3Words' isa 'Geo::What3Words' ok 4 - valid_words - valid ok 5 - valid_words - only two ok 6 - valid_words - too many ok 7 - valid_words - not all lowercase ok 8 - valid_words - empty ok 9 - valid_words - undef ok 10 - valid_words - valid Turkish utf8 ok 11 - valid_words - valid Russian utf8 ok 12 - valid_words - not all lowercase utf8 ok 13 - valid_words - OneWord # Geo::What3Words -- pinging api.what3words.com... # Geo::What3Words -- available # Geo::What3Words -- POST http://api.what3words.com/get-languages fields: $VAR1 = {'key' => 'B6Z417NE'}; # Geo::What3Words -- {"languages":[{"code":"de","name_display":"Deutsch"},{"code":"en","name_display":"English"},{"code":"es","name_display":"Espa\u00f1ol"},{"code":"fr","name_display":"Fran\u00e7ais"},{"code":"pt","name_display":"Portugu\u00eas"},{"code":"ru","name_display":"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},{"code":"sv","name_display":"Svenska"},{"code":"tr","name_display":"T\u00fcrk\u00e7e"}]} ok 14 - get_languages - at least one ok 15 - get_languages - name encoding in utf8 # Geo::What3Words -- POST http://api.what3words.com/position fields: $VAR1 = {'lang' => 'en','position' => '51.484463,-0.195405','key' => 'B6Z417NE'}; # Geo::What3Words -- {"words":["prom","cape","pump"],"position":[51.484463,-0.195405],"language":"en"} ok 16 - pos2words # Geo::What3Words -- POST http://api.what3words.com/w3w fields: $VAR1 = {'lang' => 'en','string' => 'prom.cape.pump','key' => 'B6Z417NE'}; # Geo::What3Words -- {"type":"3 words","words":["prom","cape","pump"],"position":[51.484463,-0.195405],"language":"en"} ok 17 - words2pos # Geo::What3Words -- POST http://api.what3words.com/w3w fields: $VAR1 = {'lang' => 'en','string' => '*libertytech','key' => 'B6Z417NE'}; # Geo::What3Words -- {"type":"OneWord","oneword":"*LibertyTech","position":[51.512573,-0.144879],"info":{"name":"Liberty Tech office","address1":"124 New Bond Street","address2":"","address3":"","city":"London","county":"","postcode":"W1S 1DX","country_id":"0","website":"http:\/\/libertytech.com","email":"enquiries@libertytech.com","telephone":"0207 493 8140","delivery_notes":"Ring bell number 7, we're on the top floor.","notes":"Top floor, lots of stairs!","social_facebook":"http:\/\/www.facebook.com\/libertytech","social_twitter":"http:\/\/www.twitter.com\/libertytech","social_google":"","social_linkedin":"","social_instagram":""},"words":["boxer","setup","crate"],"language":"en"} ok 18 - words2pos # Geo::What3Words -- POST http://api.what3words.com/position fields: $VAR1 = {'lang' => 'en','position' => '51.484463,-0.195405','key' => 'B6Z417NE'}; # Geo::What3Words -- {"words":["prom","cape","pump"],"position":[51.484463,-0.195405],"language":"en"} ok 19 - words_to_position - language ok 20 - words_to_position - position ok 21 - words_to_position - got 3 words # Geo::What3Words -- POST http://api.what3words.com/position fields: $VAR1 = {'lang' => 'ru','position' => '51.484463,-0.195405','key' => 'B6Z417NE'}; # Geo::What3Words -- {"words":["\u043f\u0438\u0442\u043e\u043c\u0435\u0446","\u0448\u0443\u0442\u0438\u0442\u044c","\u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e"],"position":[51.484463,-0.195405],"language":"ru"} ok 22 - words_to_position - en vs russian # Geo::What3Words -- POST http://api.what3words.com/w3w fields: $VAR1 = {'lang' => 'en','string' => 'prom.cape.pump','key' => 'B6Z417NE'}; # Geo::What3Words -- {"type":"3 words","words":["prom","cape","pump"],"position":[51.484463,-0.195405],"language":"en"} ok 23 - position_to_words - language ok 24 - position_to_words - position ok 25 - position_to_words - type ok 26 - position_to_words - words # Geo::What3Words -- POST http://api.what3words.com/oneword-available fields: $VAR1 = {'word' => '*TestingThePerlModule','lang' => 'en','key' => 'B6Z417NE'}; # Geo::What3Words -- {"available":1,"message":"Your OneWord is available"} ok 27 - oneword_available: TestingThePerlModule # Geo::What3Words -- POST http://api.what3words.com/position fields: $VAR1 = {'lang' => 'en','position' => '51.484463,-0.195405','key' => 'rubbish-key'}; # Geo::What3Words -- {"error":"X1","message":"Missing or invalid key"} ok 28 - invalid key ok t/critic.t .. skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run. All tests successful. Files=2, Tests=28, 5 wallclock secs ( 0.03 usr 0.00 sys + 0.29 cusr 0.05 csys = 0.37 CPU) Result: PASS MTMAIL/Geo-What3Words-1.0.4.tar.gz make test TEST_VERBOSE=1 -- OK MTMAIL <mtmail@cpan.org> Turn WGS84 coordinates into three words or OneWords and vice-versa using w3w.co HTTP API >>> (cd /home/fly1600/var/cpan/build/Geo-What3Words-1.0.4-621Lo7 && tar cvf - Geo-What3Words-1.0.4.ppd blib) | gzip -c >/home/fly1600/var/REPO/M/MT/MTMAIL/Geo-What3Words-1.0.4.tar.gz Geo-What3Words-1.0.4.ppd blib/ blib/lib/ blib/lib/Geo/ blib/lib/Geo/What3Words.pm blib/man3/ blib/man3/Geo::What3Words.3 >>> mv /home/fly1600/var/cpan/build/Geo-What3Words-1.0.4-621Lo7/Geo-What3Words-1.0.4.ppd /home/fly1600/var/REPO/M/MT/MTMAIL VmSize: 251400 kB Finished 2014-08-29T14:17:59