<s>... How do I do that, 'make test' returns the same thing..</s>
It would apear as if Net::Google requires Net::Google in t-001. This is the test that fails.
root:~/.cpan/build/Net-Google-1.0# perl ./t/001-search.t
1..5
ok 1 - Read Google API key
not ok 2 - use Net::Google;
# Failed test 'use Net::Google;'
# in ./t/001-search.t at line 33.
# Tried to use 'Net::Google'.
# Error: Can't locate Net/Google.pm in @INC (@INC contains: /etc/
+perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/p
+erl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/loca
+l/lib/site_perl .) at (eval 3) line 2.
# BEGIN failed--compilation aborted at ./t/001-search.t line 33.
Can't locate object method "new" via package "Net::Google" (perhaps yo
+u forgot to load "Net::Google"?) at ./t/001-search.t line 34.
# Looks like you planned 5 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
Evan Carroll
www.EvanCarroll.com
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.