Sorry i dodn't mention i installed libwww-perl. here is the modification i made to the test.pl script to see what was going on

use Net::CDDBSearch; $loaded = 1; print "ok 1\n"; $cddb = Net::CDDBSearch->new(DEBUG=>1); $cddb->get_albums_artist('Megadeth'); $albums = $cddb->albums(); push(@s,$_) foreach keys %{$albums}; if ($#s > 0) { print "ok 2\n"; } else { print "not ok 2\n"; } $cddb = Net::CDDBSearch->new(); $cddb->get_albums_album('Youthanasia'); $albums = $cddb->albums(); push(@a,$_) foreach keys %{$albums}; if ($#a > 0) { print "ok 3\n"; } else { print "not ok 3\n"; } $cddb = Net::CDDBSearch->new(); $cddb->get_songs_album($a[0]); $info = $cddb->info(); $tracks = $cddb->tracks(); if ($info->{Title} ne '') { print "ok 4\n"; } else { print "not ok 4\n +"; } push(@t,$_) foreach keys %{$tracks}; if ($#t > 0) { print "ok 5\n"; } else { print "not ok 5\n"; } output C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>perl test.pl 1..1 ok 1 Net::CDDBSearch=HASH(0x377d2c) >> Calling _get_albums(); Net::CDDBSearch=HASH(0x377d2c) >> Calling _get_url(); Net::CDDBSearch=HASH(0x377d2c) >> URL: http://www.freedb.org/freedb_se +arch.php?a llfields=NO&allcats=YES&grouping=none&words=Megadeth&fields=artist not ok 2 not ok 3 not ok 4 not ok 5 C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>C:\dnload\Net-CDDBSe +arch-2.01\ Net-CDDBSearch-2.01>perl test.pl 'C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01' is not recognized +as an inte rnal or external command, operable program or batch file. C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>1..1 '1..1' is not recognized as an internal or external command, operable program or batch file. C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>ok 1 'ok' is not recognized as an internal or external command, operable program or batch file. C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>Net::CDDBSearch=HASH +(0x377d2c) >> Calling _get_albums(); The filename, directory name, or volume label syntax is incorrect. C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>Net::CDDBSearch=HASH +(0x377d2c) >> Calling _get_url(); The filename, directory name, or volume label syntax is incorrect. C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>Net::CDDBSearch=HASH +(0x377d2c) >> URL: http://www.freedb.org/freedb_search.php?a The filename, directory name, or volume label syntax is incorrect. C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>llfields=NO&allcats= +YES&groupi ng=none&words=Megadeth&fields=artist 'llfields' is not recognized as an internal or external command, operable program or batch file. 'allcats' is not recognized as an internal or external command, operable program or batch file. 'grouping' is not recognized as an internal or external command, operable program or batch file. 'words' is not recognized as an internal or external command, operable program or batch file. 'fields' is not recognized as an internal or external command, operable program or batch file. C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>not ok 2 'not' is not recognized as an internal or external command, operable program or batch file. C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>not ok 3 'not' is not recognized as an internal or external command, operable program or batch file. C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>not ok 4 'not' is not recognized as an internal or external command, operable program or batch file. C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>not ok 5 'not' is not recognized as an internal or external command, operable program or batch file. C:\dnload\Net-CDDBSearch-2.01\Net-CDDBSearch-2.01>

any thoughts on what else i can try?

Rob i took the url produced by putting the test.pl in debug mode and copied and paste it into firefox and it works. I'm guessing it has something to do with the way the string is quoted before its sent. Maybe URI escape? Thanks dlita


In reply to Re: CDDBSearch does not install windows 7 by dlita
in thread CDDBSearch does not install windows 7 by dlita

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.