URI::FromHashURI::FromHash is a Perl module to build a URI from a set of named parameters. | |
Download |
URI::FromHash Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Dave Rolsky
- Publisher web site:
- http://search.cpan.org/~drolsky/
URI::FromHash Tags
URI::FromHash Description
URI::FromHash is a Perl module to build a URI from a set of named parameters. URI::FromHash is a Perl module to build a URI from a set of named parameters.SYNOPSIS use URI::FromHash qw( uri ); my $uri = uri( path => '/some/path', query => { foo => 1, bar => 2 }, );This module provides a simple one-subroutine "named parameters" style interface for creating URIs. Underneath the hood it uses URI.pm, though because of the simplified interface it may not support all possible options for all types of URIs.It was created for the common case where you simply want to have a simple interface for creating syntactically correct URIs from known components (like a path and query string). Doing this using the native URI.pm interface is rather tedious, requiring a number of method calls, which is particularly ugly when done inside a templating system such as Mason or TT2. Requirements: · Perl
URI::FromHash Related Software