The following module was proposed for inclusion in the Module List: modid: URI::Based DSLIP: adpOp description: Define a base URI and then generate variatio userid: NICWOLFF (Nic Wolff) chapterid: 15 (World_Wide_Web_HTML_HTTP_CGI) communities: <https://github.com/nicwolff/URI-Based/issues
similar: URI URI::WithBase rationale: Gisle's URI is a terrific module, but it doesn't facilitate setting a base URI and then generating URIs that add more path segments and query strings to it. URI's setters change the stored path, and they don't return the URI object, so they can't be chained or printed; even URI::WithBase doesn't help much. This module lets you program in a more readable style, setting up $u = URI::Based->new( 'http://example.com/path' ) and then easily printing URIs under that directory with print $u->with( '/more/path/segments', and => params ). It's handy! enteredby: NICWOLFF (Nic Wolff) enteredon: Thu Oct 4 00:36:44 2012 GMT The resulting entry would be: URI:: ::Based adpOp Define a base URI and then generate variatio NICWOLFF Thanks for registering, -- The PAUSE PS: The following links are only valid for module list maintainers: Registration form with editing capabilities: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=8c900000_952fffced5a6b8f7&SUBMIT_pause99_add_mod_preview=1 Immediate (one click) registration: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=8c900000_952fffced5a6b8f7&SUBMIT_pause99_add_mod_insertit=1 Peek at the current permissions: https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=URI%3A%3ABased