Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    WWW::Rafb 0.02

    Download button

    No screenshots available
    Downloads: 278  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Amit Sides | More programs
    Perl Artistic License / FREE
    June 8th, 2007, 12:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    WWW::Rafb description

    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( [ARGS] )

    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.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    rafb pasting site | Perl interface | Perl module | WWW | rafb | pasting

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM