| parrotcode: A helper for classic CGI | |
| Contents | Libraries | 

CGI;QueryHash - A helper for classic CGI

    load_bytecode 'CGI/QueryHash.pbc'
    parse_get_sub = get_global [ 'CGI'; 'QueryHash' ], 'parse_get'
    .local pmc    params_from_get
    params_from_get = parse_get_sub()
    parse_post_sub = get_global [ 'CGI'; 'QueryHash' ], 'parse_post'
    .local pmc    params_from_post
    params_from_post = parse_post_sub()


Splitting of query string is taken from HTTP/Daemon.pir.

Better method names. Add stuff that Plumhead needs. Find or write a test suite for CGI.

runtime/parrot/library/HTTP/Daemon.pir, languages/plumhead/plumhead.pir, t/library/cgi_query_hash.t, http://hoohoo.ncsa.uiuc.edu/cgi/overview.html

Bernhard Schmalhofer - <Bernhard.Schmalhofer@gmx.de>
|  |   |