Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

perlman:CGI::Switch

by root (Monk)
on Dec 23, 1999 at 00:50 UTC ( [id://1171]=perlfunc: print w/replies, xml ) Need Help??

CGI::Switch

See the current Perl documentation for CGI::Switch.

Here is our local, out-dated (pre-5.6) version:


CGI::Switch - Try more than one constructors and return the first object available



 
 use CGISwitch;

  -or-

 use CGI::Switch This, That, CGI::XA, Foo, Bar, CGI;

 my $q = new CGI::Switch;



Per default the new() method tries to call new() in the three packages Apache::CGI, CGI::XA, and CGI. It returns the first CGI object it succeeds with.

The import method allows you to set up the default order of the modules to be tested.


SEE ALSO

perl(1), Apache(3), CGI(3), CGI::XA(3)


AUTHOR

Andreas König <a.koenig@mind.de>


Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2025-05-16 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.