OpenInteract::Startup

Bootstrapper that reads in modules and initializes the environment
Download

OpenInteract::Startup Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Chris Winters
  • Publisher web site:
  • http://search.cpan.org/~cwinters/SPOPS-0.87/SPOPS/SQLInterface.pm

OpenInteract::Startup Tags


OpenInteract::Startup Description

Bootstrapper that reads in modules and initializes the environment OpenInteract::Startup is a bootstrapper that reads in modules and initializes the environment.SYNOPSIS # Startup an OpenInteract environment outside Apache and mod_perl use strict; use OpenInteract::Startup; my $R = OpenInteract::Startup->setup_static_environment( '/home/httpd/MySite' ); # Same thing, but read the website directory from the command-line # parameter '--website_dir' or the environment variable 'OIWEBSITE' my $R = OpenInteract::Startup->setup_static_environment_options(); # For usage in Apache/mod_perl, see OpenInteract::ApacheStartupThis module has a number of routines that are (hopefully) independent of the OpenInteract implementation. One of its primary goals is to make it simple to initialize OpenInteract not only in a mod_perl context but also a single-use context. For example, when you create a script to be run as a cron job to do some sort of data checking (or whatever), you should not be required to put 50 lines of initialization in your script just to create the framework.This script should also minimize the modules you have to include yourself, making it easier to add backward-compatible functionality. Most of the time, you only need to have a 'use' statement for this module which takes care of everything else. Requirements: · Perl


OpenInteract::Startup Related Software