Author image David Precious

NAME

Lyrics::Fetcher::Cache - implement caching of lyrics

DESCRIPTION

This module deals with the caching of lyrics for Lyrics::Fetcher, using whatever supported caching methods are available.

This is not intended to be used directly, it should be called solely by Lyrics::Fetcher. See Lyrics::Fetcher for usage details.

INTERFACE

get($artist, $title)

Attempt to fetch from whatever cache module we managed to use

set($artist, $title, $lyrics)

Attempt to store the value into the cache

fetch($artist, $title)

Alias for get, primarily in case this module gets mistaken for a normal fetcher module. Don't call this, call get().

BUGS

There are no known bugs, if you catch one please let me know.

CONTACT AND COPYRIGHT

Copyright 2007-2008 David Precious <davidp@preshweb.co.uk> (CPAN Id: BIGPRESH)

All comments / suggestions / bug reports gratefully received (ideally use the RT installation at http://rt.cpan.org/ but mail me direct if you prefer)

Previously: Copyright 2003 Sir Reflog <reflog@mail15.com>. Copyright 2003 Zachary P. Landau <kapheine@hypa.net>

LICENSE

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