Joshua Soles > Lyrics-Fetcher-LyrDB-0.02 > Lyrics::Fetcher::LyrDB

Download:
Lyrics-Fetcher-LyrDB-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

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

VERSION ^

Version 0.02

NAME ^

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

SYNOPSIS ^

  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 ^

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 ^

trim($string)

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

fetch($artist, $song)

Fetch lyrics for the requested song.

AUTHOR ^

Joshua Soles, <jbsoles at gmail.com>

BUGS ^

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 ^

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

    perldoc Lyrics::Fetcher::LyrDB

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2008 Joshua Soles, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: