WWW::Rafb

WWW::Rafb is a Perl interface for rafb pasting site ( rafb.net/paste ).
Download

WWW::Rafb Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Amit Sides
  • Publisher web site:
  • http://search.cpan.org/~amitsides/WWW-Rafb-0.02/Rafb.pm

WWW::Rafb Tags


WWW::Rafb Description

WWW::Rafb is a Perl interface for rafb pasting site ( rafb.net/paste ). WWW::Rafb is a Perl interface for rafb pasting site ( rafb.net/paste ).SYNOPSIS # create object with the paste information my $paste = WWW::Rafb->new( 'language' => 'perl', 'nickname' => 'Di42lo', 'description' => 'my first script in perl', 'tabs' => 'No', 'file' => "~/first.pl"); # do the http request ( the paste itself ) $paste->paste(); # print the url print "You can get $paste->{file} at url: $paste->{URL}n";"WWW::Rafb" provides object interface for pasting any text file/source file into the the rafb site with the needed information.This module requires LWP::UserAgent and use URI::Escape.INTERFACE new( ) Used to set the pasting information about the file and create a new Object of the WWW::Rafb module. Arguments: language - The file type. One of this types: note: you should write the value (in the () ) and not the full name. C89 (c89) C99 (c) C++ (c++) C# (c#) Java (java) Pascal (pascal) Perl (perl) PHP (php) PL/I (pl/i) Python (python) Ruby (ruby) SQL (sql) Visual Basic (vb) Plain Text (plain text) nickname - the nickname of the script/file publisher description' => 'my first script in perl', tabs - values: No/2/4/6/8 file - path of the file we want to upload. NOTES: Returns a blessed object with the information. paste() Returns the object with the URL of the file in the rafb.net/paste site and the other informations. No Arguments.Requirements:· Perl Requirements: · Perl


WWW::Rafb Related Software