]> mj.ucw.cz Git - libucw.git/commit
UCW::CGI: Support multiple argument tables
authorMartin Mares <mj@ucw.cz>
Mon, 19 Jul 2010 15:27:12 +0000 (17:27 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 18 Aug 2010 16:12:36 +0000 (18:12 +0200)
commit3da35cffa27f520c30599005be34c7e8049eb2ad
treeb55ebfe82e732d9b5432ca88a1e2f441fa37d1db
parent511633192ca7f4c1ce412c4bb11f1299f2b13211
UCW::CGI: Support multiple argument tables

(1) parse_args() can be called multiple times with different
    argument tables, so that different parts of a single script
    can fetch their own arguments without cluttering the main
    argument table. The only catch is that uploaded files must
    be defined in the main argument table (i.e., the first one used).

(2) self_ref() and self_form() accepts optional argument tables
    which are merged to the main one.
ucw/perl/UCW/CGI.pm