Apache-Bootstrap

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Apache-Bootstrap

0.07 Mon Jul 13 12:09:00 PST 2009
    - fix syntax error in params validation in new (mp2 param unchecked)
    - warn instead of dying in new if a module is not present, and then
      decide if any modules are present to create a new bootstrap object

0.06 Sat Apr 25 14:07:04 PST 2009
    - replace confusing instances of mod_perl1 and mp1 with simply mod_perl

0.05 Mon Mar 30 10:25:54 PST 2009
    - change apache test check for wrong version instead of valid a:t config

0.05-rc1 Mon Jan 21 14:34:83 PST 2009
    - code imported to ASF repository, thanks to pgollucci

LICENSE  view on Meta::CPAN

      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this

lib/Apache/Bootstrap.pm  view on Meta::CPAN

            $flag = $1;
        }
    }

    # check %ENV
    my $env = exists $ENV{MOD_PERL} ? $ENV{MOD_PERL} : 0;

    # check for contradicting requirements
    if ( $env && $flag && $flag != $env ) {
        warn <<EOF;
Can\'t decide which mod_perl version should be used, since you have
supplied contradicting requirements:
    enviroment variable MOD_PERL=$env
    Makefile.PL option  MOD_PERL=$flag
EOF
        die;
    }

    my $wanted = 0;
    $wanted = 2 if $env == 2 || $flag == 2;
    $wanted = 1 if $env == 1 || $flag == 1;



( run in 0.917 second using v1.01-cache-2.11-cpan-de7293f3b23 )