GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HTML::MASON::UTILS (3)

.ds Aq ’

NAME

HTML::Mason::Utils - Publicly available functions useful outside of Mason

CONTENTS

DESCRIPTION

The functions in this module are useful when you need to interface code you have written with Mason.

FUNCTIONS

data_cache_namespace ($comp_id) Given a component id, this method returns its default Cache::Cache namespace. This can be useful if you want to access the cached data outside of Mason.

With a single component root, the component id is just the component path. With multiple component roots, the component id is key/path, where key is the key corresponding to the root that the component falls under.

cgi_request_args ($cgi, $method) This function expects to receive a CGI.pm object and the request method (GET, POST, etc). Given these two things, it will return a hash in list context or a hashref in scalar context. The hash(ref) will contain all the arguments passed via the CGI request. The keys will be argument names and the values will be either scalars or array references.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HTML::MASON::UTILS (3) 2014-11-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.