Why not adopt me?
GitHub Gist: instantly share code, notes, and snippets.
This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email. - CONSTRUCTOR
- new
- METHODS
- paste
WWW::Pastebin::Bot::Pastebot::Create - create pastes on sites powered by Bot::Pastebot
- Pastebot is an irc bot that saves channels from large amounts of pasted material. Text is pasted into a web form, and the bot announces an URL pastebot - Browse Files at SourceForge.net.
- Pastebot — コピー&ペースト強化ソフト 1.4.1(¥350) moveAddict. Cutによるファイル操作を可能にするアプリ。 なんでMacに標準で実装されていないのか理解に苦しみますが、このアプリがあればへいちゃらです。 moveAddict 2.2.5(¥700).
![Pastebot Pastebot](https://content.invisioncic.com/r229491/monthly_2019_06/1533572806_Title-NotesDefault.jpg.f331af36592022c69289a578014b9c1e.jpg)
The module provides interface to paste into pastebin sites powered by Bot::Pastebot
new
Constructs and returns a brand new yummy juicy WWW::Pastebin::Bot::Pastebot::Create object. Takes two arguments, both are optional. Possible arguments are as follows:
site
Optional. Specifies the URI to pastebin site which is powered by Bot::Pastebot. Make you you don't append any 'channel specific' paths. This is done internally by the module. Defaults to:
http://p3m.org/pfn
Pastebot 2 345
timeout
Optional. Specifies the
timeout
argument of LWP::UserAgent's constructor, which is used for pasting. Defaults to:30
seconds.ua
Optional. If the
timeout
argument is not enough for your needs of mutilating the LWP::UserAgent object used for pasting, feel free to specify the ua
argument which takes an LWP::UserAgent object as a value. Note: the timeout
argument to the constructor will not do anything if you specify the ua
argument as well. Defaults to: plain boring default LWP::UserAgent object with timeout
argument set to whatever WWW::Pastebin::Bot::Pastebot::Create
's timeout
argument is set to as well as agent
argument is set to mimic Firefox.paste
Instructs the object to create a new paste. On failure will return either
undef
or an empty list depending on the context and the reason for failure will be available via error()
method. On success returns a URI object poiting to a newly created paste. Takes one mandatory argument and several optional ones. The first argument is mandatory and is the text you want to paste. Optional arguments are passed as key/value pairs and are as follows:channel
Optional. Specifies the channel to which the pastebot will announce. Valid values vary as different pastebots configured for different channels, but the value would be the same as what you'd see in the 'Channel' select box on the site. Specifying empty string will result in 'No channel'. Defaults to:
'
(no specific channel)nick
![Pastebot 2 34 Pastebot 2 34](https://images.techhive.com/images/article/2016/12/pastebot-2-main-clippings-window-100699701-orig.jpg)
Optional. Specifies the name of the person creating the paste. Defaults to:
'
(empty; no name)summary
Pastebot 2 34th
Optional. Specifies a short summary of the paste contents. Defaults to:
'
(empty; no summary)paste
Optional. Depending on how you are using the module it might be easier for you to specify anything as the first argument and provide the content of the paste as a
paste
Vuescan 9 5 93 – scanner software with advanced features. argument. Defaults to: first argument to paste()
method.error
Takes no arguments, returns the error message explaining why call to
paste()
method failed.uri
Must be called after a successful call to
paste()
. Takes no arguments, returns a URI object last call to paste()
created. Note: this method is overloaded for q|'|
thus you can simply interpolate your object in a string to obtain the URI to the paste.site
Returns a currently used paste site (see
site
argument to contructor). When called with its optional argument (which must be a URI pointing to a pastebin site powered by Bot::Pastebot) will use it for creating any subsequent pastes.ua
Returns an LWP::UserAgent object which is used for creating pastes. Accepts one optional argument which must be an LWP::UserAgent object, if you specify it then whatever you specify will be used in subsequent calls to
paste()
.Flyers templates for pages 1 1 download free. Zoffix Znet,
<zoffix at cpan.org>
(http://zoffix.com, http://haslayout.net)Please report any bugs or feature requests to
bug-www-pastebin-bot-pastebot-create at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Pastebin-Bot-Pastebot-Create. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.You can find documentation for this module with the perldoc command.
You can also look for information at:
Pastebot 2 340
- RT: CPAN's request tracker
- AnnoCPAN: Annotated CPAN documentation Securityspy 4 0 3 download free.
- CPAN Ratings
- Search CPAN
Copyright 2008 Zoffix Znet, 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 WWW::Pastebin::Bot::Pastebot::Create, copy and paste the appropriate command in to your terminal.
For more information on module installation, please visit the detailed CPAN module installation guide.