Lyrics::Fetcher::LyrDB - The great new Lyrics::Fetcher::LyrDB!


Lyrics-Fetcher-LyrDB documentation  | view source Contained in the Lyrics-Fetcher-LyrDB distribution.

Index


NAME

Top

Lyrics::Fetcher::LyrDB - The great new Lyrics::Fetcher::LyrDB!

VERSION

Top

Version 0.02

NAME

Top

Lyrics::Fetcher::LyrDB - Get song lyrics from www.LyrDB.com

SYNOPSIS

Top

  use Lyrics::Fetcher;
  print Lyrics::Fetcher->fetch("<artist>","<song>","LyrDB");

  # or, if you want to use this module directly without Lyrics::Fetcher's
  # involvement:
  use Lyrics::Fetcher::LyrDB;
  print Lyrics::Fetcher::LyricDB->fetch('<artist>', '<song>');




DESCRIPTION

Top

This module uses LyrDB's web services to get song lyrics from www.lyrdb.com. It's designed to be called by Lyrics::Fetcher, but can be used directly if you'd prefer. This module makes use of the LWP::Simple module, which you most likely already have.

FUNCTIONS

Top

trim($string)

Helper function that trims starting and ending spaces from the string.

fetch($artist, $song)

Fetch lyrics for the requested song.

AUTHOR

Top

Joshua Soles, <jbsoles at gmail.com>

BUGS

Top

Please report any bugs or feature requests to bug-lyrics-fetcher-lyrdb at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Lyrics-Fetcher-LyrDB. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Lyrics::Fetcher::LyrDB




You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Lyrics-Fetcher-LyrDB

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Lyrics-Fetcher-LyrDB

* CPAN Ratings

http://cpanratings.perl.org/d/Lyrics-Fetcher-LyrDB

* Search CPAN

http://search.cpan.org/dist/Lyrics-Fetcher-LyrDB

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Lyrics-Fetcher-LyrDB documentation  | view source Contained in the Lyrics-Fetcher-LyrDB distribution.