InfoSys::FreeDBInfoSys::FreeDB is a Perl module for FreeDB connection factory. | |
Download |
InfoSys::FreeDB Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Vincenzo Zocca
- Publisher web site:
- http://search.cpan.org/~zoccav/HH-Unispool-Config-0.3/lib/HH/Unispool/Config/File/Token/Unnumbered/Bcs.pm
InfoSys::FreeDB Tags
InfoSys::FreeDB Description
InfoSys::FreeDB is a Perl module for FreeDB connection factory. InfoSys::FreeDB is a Perl module for FreeDB connection factory.SYNOPSIS require InfoSys::FreeDB; require InfoSys::FreeDB::Entry; # Read entry from the default CD device my $entry = InfoSys::FreeDB::Entry->new_from_cdparanoia(); # Create a HTTP connection my $fact = InfoSys::FreeDB->new(); my $conn = $fact->create_connection( { client_name => 'testing-InfoSys::FreeDB', client_version => $InfoSys::FreeDB::VERSION, } ); # Query FreeDB my $res_q = $conn->query( $entry ); scalar( $res_q->get_match() ) || die 'no matches found for the disck in the default CD-Rom drive'; # Read the first match my $res_r = $conn->read( ( $res_q->get_match() ) ); # Write the entry to STDERR use IO::Handle; my $fh = IO::Handle->new_from_fd( fileno(STDERR), 'w' ); $res_r->get_entry()->write_fh( $fh ); Requirements: · Perl
InfoSys::FreeDB Related Software