Commit | Line | Data |
11736b4c |
1 | package DBIx::Class::StartupCheck; |
2 | |
4a233f30 |
3 | use strict; |
4 | use warnings; |
5 | |
11736b4c |
6 | =head1 NAME |
7 | |
8 | DBIx::Class::StartupCheck - Run environment checks on startup |
9 | |
10 | =head1 SYNOPSIS |
11 | |
12 | use DBIx::Class::StartupCheck; |
d4daee7b |
13 | |
11736b4c |
14 | =head1 DESCRIPTION |
15 | |
dc253b77 |
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 |
48580715 |
23 | put in L<DBIx::Class::Manual::Troubleshooting>. |
dc253b77 |
24 | |
25 | Other checks may be added from time to time. |
11736b4c |
26 | |
27 | Any checks herein can be disabled by setting an appropriate environment |
dc253b77 |
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. |
11736b4c |
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 | 1; |