From: Mischa POSLAWSKY Date: Mon, 2 Jun 2008 00:43:56 +0000 (+0000) Subject: fix Exporter inclusion X-Git-Tag: 3.22~7 X-Git-Url: http://git.shiar.net/perl/plp/.git/commitdiff_plain/77a1edf5bac6b7e352acb953518275d994a6dec3 fix Exporter inclusion Revert recent change of including only import() from Exporter instead of basing on it, as the latter fails on older Perls (smoke on versions 5.8.2 and below). Broke PLP::Functions in these versions at d9f3acb221a71e094318c7b5d3809aa81dbb5bb3 (use warnings in all modules). --- diff --git a/Changes b/Changes index 849a1c9..4c0043d 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,5 @@ +- Fix breakage with old versions of Exporter + 3.21 - May 31, 2008: - Fix everything() wrapper (broke pre-3.20 CGI scripts on 3.20) - %header values containing newlines will be sent as multiple fields diff --git a/lib/PLP/Functions.pm b/lib/PLP/Functions.pm index c298dca..8c3886f 100644 --- a/lib/PLP/Functions.pm +++ b/lib/PLP/Functions.pm @@ -3,7 +3,7 @@ package PLP::Functions; use strict; use warnings; -use Exporter qw(import); +use base 'Exporter'; use Fcntl qw(:flock); our $VERSION = '1.00';