| 1 | package DBIx::Class::StartupCheck; | ||
| 2 | |||
| 3 | 308 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 308 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | DBIx::Class::StartupCheck - Run environment checks on startup | ||
| 9 | |||
| 10 | =head1 SYNOPSIS | ||
| 11 | |||
| 12 | use DBIx::Class::StartupCheck; | ||
| 13 | |||
| 14 | =head1 DESCRIPTION | ||
| 15 | |||
| 16 | This module used to check for, and if necessary issue a warning for, a | ||
| 17 | particular bug found on Red Hat and Fedora systems using their system | ||
| 18 | perl build. As of September 2008 there are fixed versions of perl for | ||
| 19 | all current Red Hat and Fedora distributions, but the old check still | ||
| 20 | triggers, incorrectly flagging those versions of perl to be buggy. A | ||
| 21 | more comprehensive check has been moved into the test suite in | ||
| 22 | C<t/99rh_perl_perf_bug.t> and further information about the bug has been | ||
| 23 | put in L<DBIx::Class::Manual::Troubleshooting>. | ||
| 24 | |||
| 25 | Other checks may be added from time to time. | ||
| 26 | |||
| 27 | Any checks herein can be disabled by setting an appropriate environment | ||
| 28 | variable. If your system suffers from a particular bug, you will get a | ||
| 29 | warning message on startup sent to STDERR, explaining what to do about | ||
| 30 | it and how to suppress the message. If you don't see any messages, you | ||
| 31 | have nothing to worry about. | ||
| 32 | |||
| 33 | =head1 CONTRIBUTORS | ||
| 34 | |||
| 35 | Nigel Metheringham | ||
| 36 | |||
| 37 | Brandon Black | ||
| 38 | |||
| 39 | Matt S. Trout | ||
| 40 | |||
| 41 | =head1 AUTHOR | ||
| 42 | |||
| 43 | Jon Schutz | ||
| 44 | |||
| 45 | =head1 LICENSE | ||
| 46 | |||
| 47 | You may distribute this code under the same terms as Perl itself. | ||
| 48 | |||
| 49 | =cut | ||
| 50 | |||
| 51 | 308 | 1; | |