Skip Menu |

This queue is for tickets about the WWW-Google-SiteMap CPAN distribution.

Report information
The Basics
Id: 14917
Status: resolved
Priority: 0/
Queue: WWW-Google-SiteMap

People
Owner: Nobody in particular
Requestors: info [...] charlestonsw.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: (no value)



Subject: ZLib Eval Issue
# Does not work on all systems # my $ZLIB = eval "use IO::Zlib ()"; # Temp patch # use IO::Zlib(); my $ZLIB = 1; # Test for IO::Zlib in Makefile.PL instead. # # Runtime testing with eval does not work on all systems. #
[guest - Tue Oct 4 12:47:02 2005]: Show quoted text
> # Does not work on all systems > # > my $ZLIB = eval "use IO::Zlib ()"; >
On which systems does this not work, and why? Show quoted text
> # Temp patch > # > use IO::Zlib(); > my $ZLIB = 1; > > # Test for IO::Zlib in Makefile.PL instead. > # > # Runtime testing with eval does not work on all systems. > #
The intent is to use zlib functionality if available, and to continue without it if it isn't available, handling it the way you have suggested makes zlib mandatory.