# File : Zlib.pm
# Author : Paul Marquess
# Created : 30 January 2005
-# Version : 1.34
+# Version : 1.35
#
# Copyright (c) 1995-2005 Paul Marquess. All rights reserved.
# This program is free software; you can redistribute it and/or
require 5.004 ;
require Exporter;
-require DynaLoader;
use AutoLoader;
use Carp ;
use IO::Handle ;
our ($VERSION, @ISA, @EXPORT, $AUTOLOAD);
our ($deflateDefault, $deflateParamsDefault, $inflateDefault);
-$VERSION = "1.34_01" ;
+$VERSION = "1.35" ;
-@ISA = qw(Exporter DynaLoader);
+@ISA = qw(Exporter);
# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
# Do not simply export all your public functions/methods/constants.
crc32
ZLIB_VERSION
+ ZLIB_VERNUM
DEF_WBITS
OS_CODE
goto &{$AUTOLOAD};
}
-bootstrap Compress::Zlib $VERSION ;
+eval {
+ require XSLoader;
+ XSLoader::load('Compress::Zlib', $VERSION);
+} or do {
+ require DynaLoader;
+ local @ISA = qw(DynaLoader);
+ bootstrap Compress::Zlib $VERSION ;
+} ;
# Preloaded methods go here.