Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    CGI::Wrap 2006.0215

    Download button

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

    License / Price:

    Last Updated:

    Category:
    David Muir Sharnoff | More programs
    Perl Artistic License / FREE
    August 31st, 2006, 07:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    CGI::Wrap description

    CGI::Wrap is a buffer output when building CGI programs.

    CGI::Wrap is a buffer output when building CGI programs.

    SYNOPSIS

    use CGI;
    use CGI::Croak;
    use CGI::Wrap;

    $query = new CGI;
    savequery $query; # to reconstruct input
    $CGI::Out::mailto = 'fred'; # override default of $<

    run &myfunc, @myargs # a function
    run sub { code } # an inline function
    run 'code' # something to eval

    sub myfunc {
    out $query->header();
    out $query->start_html(
    -title=>'A test',
    -author=>'muir@idiom.com');
    }
    $CGI::Out::out # is the buffer

    This is a helper routine for building CGI programs. It buffers stdout until you're completed building your output. If you should get an error before you are finished, then it will display a nice error message (in HTML), log the error, and send email about the problem.

    To use it, you must condense your program down to a single function call and then use CGI::Wrap::run to call it.

    Instead of print, use out.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    buffer output | building CGI programs | Perl module | CGI::Wrap | buffer | output

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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