Next:
Singleton::DBI
Previous:
HTML::Scrubber
 [Table of Contents]

Singleton::CGI



NAME

Singleton::CGI - A singleton wrapper around the CGI object.

SYNOPSIS

    #!/usr/bin/perl -w

    use Singleton::CGI;
    use strict;

    my $cgi = Singleton::CGI->instance();

    $cgi->param( "bob" );

DESCRIPTION

  This module implements a Singleton wrapper around the CGI module.

  This allows all areas of the codebase to easily and consistently
 access any submitted CGI parameters.

instance

   Gain access to the single instance of our CGI object.

new

  Create a new instance of this object.

  This is only ever called once since this class is a Singleton.

AUTHOR

Steve Kemp

http://www.steve.org.uk/

LICENSE

Copyright (c) 2005-2007 by Steve Kemp. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license.


[Top] Generated by HTML::FromPod 0.49 on Fri Nov 21 03:03:57 2008