DBIO/StartupCheck.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« DBIO/PostgreSQL/Async/TransactionContext.pm ↑ Summary DBIO/Test/Future.pm »
1 package DBIO::StartupCheck;
2 # ABSTRACT: REMOVED -- no replacement, see DBIO::Deprecated
3  
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 # Deliberately explicit $VERSION -- unlike normal DBIO sub-modules, which
8 # carry none (only the dist's main module does, bumped by dzil). This
9 # tombstone needs its own hard-coded, higher $VERSION so PAUSE indexes THIS
10 # module as canonical for the name: PAUSE resolves each module name to
11 # whichever shipped distribution carries the highest $VERSION, and DBIO
12 # core's last CPAN release to ship this module was 0.900000. Do NOT "clean
13 # this up" to match the no-$VERSION sub-module convention -- doing so hands
14 # the PAUSE index entry back to the stale, superseded release.
15 our $VERSION = '0.900001';
16  
17 # "Removed, no successor" tombstone: unlike a rename, there is nothing to
18 # redirect to -- say so plainly instead of pointing at a replacement module.
19 die __PACKAGE__ . " has been removed. It only checked for a Red Hat/Fedora"
20 . " system-perl bug from ~2008 (bless/overload performance regression),"
21 . " long fixed upstream; DBIO no longer ships this check. There is no"
22 . " replacement module -- simply remove the 'use DBIO::StartupCheck;'"
23 . " line from your code.\n";
24  
25 1;
26  
27 __END__
« DBIO/PostgreSQL/Async/TransactionContext.pm ↑ Summary DBIO/Test/Future.pm »