WWW::Pastebin::PhpfiCom::CreateWWW::Pastebin::PhpfiCom::Create is a Perl module to create new pastes on http://phpfi.com/ pastebin site. | |
Download |
WWW::Pastebin::PhpfiCom::Create Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Zoffix Znet
- Publisher web site:
- http://search.cpan.org/~zoffix/
WWW::Pastebin::PhpfiCom::Create Tags
WWW::Pastebin::PhpfiCom::Create Description
WWW::Pastebin::PhpfiCom::Create is a Perl module to create new pastes on http://phpfi.com/ pastebin site. WWW::Pastebin::PhpfiCom::Create is a Perl module to create new pastes on http://phpfi.com/ pastebin site.SYNOPSIS use strict; use warnings; use WWW::Pastebin::PhpfiCom::Create; my $paster = WWW::Pastebin::PhpfiCom::Create->new; $paster->paste('large text to paste') or die $paster->error; print "Your paste is located on $pastern";CONSTRUCTORnew my $paster = WWW::Pastebin::PhpfiCom::Create->new; my $paster = WWW::Pastebin::PhpfiCom::Create->new( timeout => 10, ); my $paster = WWW::Pastebin::PhpfiCom::Create->new( ua => LWP::UserAgent->new( timeout => 10, agent => 'PasterUA', ), );Constructs and returns a brand new yummy juicy WWW::Pastebin::PhpfiCom::Create object. Takes two arguments, both are optional. Possible arguments are as follows:timeout ->new( timeout => 10 );Optional. Specifies the timeout argument of LWP::UserAgent's constructor, which is used for pasting. Defaults to: 30 seconds.ua ->new( ua => LWP::UserAgent->new( agent => 'Foos!' ) );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::PhpfiCom::Create's timeout argument is set to as well as agent argument is set to mimic Firefox. Requirements: · Perl
WWW::Pastebin::PhpfiCom::Create Related Software