Jason M. Mills

NAME

App::Nopaste::Service::AnyPastebin - paste to any pastebin that runs the same paste service as http://pastebin.com/

METHODS

forbid_in_default

Constant of false

post_content

Returns a HashRef of content to post. By default:

    {
        paste => 'Send',
        code2 => 'text',
        poster => 'nick',
        format => 'lang',
        expiry => 'd'
    };

Of course nothing is stopping you from building sub-classing this.

fill_form

Overwritten to submit paste via WWW::Mechanize

get

Overwritten to pack basic auth information into WWW::Mechanize

return

Parse redirect and return uri

uri

Default of http://pastebin.com

AUTHOR

Jason M Mills, <jmmills at cpan.org>

TODO

    * Write more tests
    * Localize requests_redirectable deletion
    * Come up with a way to access basic auth with out using private accessors

BUGS

Please report any bugs or feature requests to bug-app-nopaste-service-pastebinproper at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-Nopaste-Service-AnyPastebin. 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 App::Nopaste::Service::AnyPastebin

You can also look for information at:

SEE ALSO

App::Nopaste::Service

LICENSE AND COPYRIGHT

Copyright 2010 Jason M Mills.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.