Purple::DB_File - DB_File driver for Purple
DB_File backend for storing and retrieving Purple nids.
# XXX update this for factory stuff use Purple::DB_File; my $p = Purple::DB_File->new('purple.db'); my $nid = $p->getNext('http://i.love.purple/'); my $url = $p->getURL($nid); # http://i.love.purple/
Initializes NID database at $db_loc, creating it if it does not already exist. Defaults to "purple.db" in the current directory if $db_loc is not specified.
Gets the next available NID, assigning it $url in the database.
Gets the URL associated with NID $nid.
Updates the NIDs in @nids with the URL $url.
Gets all NIDs associated with $url.
Deletes all NIDs in @nids.
Chris Dent, <cdent@burningchrome.com>
Eugene Eric Kim, <eekim@blueoxen.com>
Gerry Gleason, <gerry@geraldgleason.com>
Please report any bugs or feature requests to bug-purple@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Purple. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-purple@rt.cpan.org
Based on PurpleWiki::Sequence, which it attempts to replace.
(C) Copyright 2006 Blue Oxen Associates. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Purple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Purple
CPAN shell
perl -MCPAN -e shell install Purple
For more information on module installation, please visit the detailed CPAN module installation guide.