Ben Hammersley > WWW-BugMeNot > WWW::BugMeNot

Download:
WWW-BugMeNot-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.02   Source  

NAME ^

WWW::BugMeNot - An interface to the BugMeNot.com website. Given a URL that requires a registration, it returns a donated username and password

VERSION ^

0.01 - September 12

SYNOPSIS ^

    use WWW::BugMeNot;
    my $url = "http://www.nytimes.com";
    my @username_and_password = password($url);
    print "Username = $username_and_password[0]";
    print "Password = $username_and_password[1]";

DESCRIPTION ^

Many websites require compulsory registration before they will allow readers to access their pages. This is bad for a variety of reasons, and so many people use BugMeNot.com to share common usernames and passwords. This module provides a programmatic interface to BugMeNot.

INTERFACE ^

WWW::BugMeNot presents one method to the outer world:

    password("$url")

Which takes a URL, and returns an array containing a username and password. The username is in $array[0] and the password in $array[1]

That's it. There is currently no checking for sites that are not listed on BugMeNot, and the module will do horrid things upon finding such a beast.

PREREQUISITES ^

LWP::Simple, HTML::TokeParser

AUTHOR ^

Ben Hammersley <ben@benhammersley.com>

BUGS ^

Potentially many. This module uses screen-scraping to retrieve the passwords. If BugMeNot change their pages, the module will break.

Please use the CPAN bugtracking system at http://rt.cpan.org/ to report bugs, or make suggestions.

SEE ALSO ^

http://www.bugmenot.com

COPYRIGHT AND LICENSE ^

Copyright (C) 2004 by Ben Hammersley

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: