RECENT POSTS

P5-cgi-expand

May 26, 2018

Convert flat hash to nested data using TT2 dot convention

Converts a CGI query into structured data using a dotted name convention similar to TT2.

expand_cgi works with CGI.pm, ApacheRequest or anything with an appropriate “param” method. Or you can use expand_hash directly.

If you prefer to use a different flattening convention then CGIExpand can be subclassed.

WWW http//search.cpan.org/dist/CGI-Expand/