Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id:
34103
Status:
resolved
Worked:
20 minutes
Users:
SHLOMIF: 20 minutes
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
pcronin [...] loyola.edu
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Error in a documentation example
Date: Fri, 14 Mar 2008 14:50:38 -0700
To: bug-Archive-Zip@rt.cpan.org
From: Patrick Cronin <pcronin@loyola.edu>
Under the first writeToFileHandle example in the docs on the URL:


The example shows this usage:

    my $fh = IO::File->new( 'someFile.zip', 'w' );
    unless ( $zip->writeToFileHandle( $fh ) != AZ_OK ) {
        # error handling
    }

In my best guess, the comparison in the unless condition should be a ==, not a !=.

HTH,

Patrick Cronin
Hi! Thanks for reporting this. This is now fixed in the trunk. Please do not reply to this bug as it will just re-open it. Regards, Shlomi Fish


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.