| 1 | package Reverse::Proxy; | ||||||||||
| 2 | |||||||||||
| 3 | 12 | ▶ | use 5.008003; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 12 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 12 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 12 | ▶ | use Carp (); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 12 | ▶ | use Fetch; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 12 | our $VERSION = '0.06'; | |||||||||
| 10 | |||||||||||
| 11 | 12 | require XSLoader; | |||||||||
| 12 | 12 | XSLoader::load('Reverse::Proxy', $VERSION); | |||||||||
| 13 | |||||||||||
| 14 | 12 | ▶ | unless (_abi_ok()) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | # Say which numbers disagreed. The message this replaced blamed an old | ||||||||||
| 16 | # Fetch and told people to upgrade, which was wrong in the only way that | ||||||||||
| 17 | # matters: every report of it came from an installation whose Fetch was | ||||||||||
| 18 | # NEWER than required, and upgrading could not have helped. | ||||||||||
| 19 | 0 | my ($seen, $want) = (_abi_seen(), _abi_want()); | |||||||||
| 20 | 0 | ▶ | Carp::croak( | ||||||||
|
Branch: 1 branch
| |||||||||||
| 21 | $seen | ||||||||||
| 22 | ? "Reverse::Proxy $VERSION was built against Fetch C ABI version " | ||||||||||
| 23 | . "$want, but the installed Fetch $Fetch::VERSION provides " | ||||||||||
| 24 | . "version $seen - reinstall Reverse::Proxy against this Fetch" | ||||||||||
| 25 | : "Reverse::Proxy requires Fetch built with its C ABI (Fetch 0.05 " | ||||||||||
| 26 | . "or later); the installed Fetch $Fetch::VERSION did not provide " | ||||||||||
| 27 | . "one, so please upgrade or reinstall Fetch" | ||||||||||
| 28 | ); | ||||||||||
| 29 | } | ||||||||||
| 30 | |||||||||||
| 31 | 12 | 1; | |||||||||
| 32 | |||||||||||
| 33 | __END__ | ||||||||||