Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix force_disconnect test on perl < 5.9.0 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frett
Copy link

@frett frett commented Oct 4, 2013

This fixes the following test failure on perl 5.8.8:

t/30-disconnect.t .. 1/? Not an ARRAY reference at /root/.cpan/build/MogileFS-Client-1.17/blib/lib/MogileFS/Client.pm line 199.
# Tests were run but no plan was declared and done_testing() was not seen.
t/30-disconnect.t .. Dubious, test returned 255 (wstat 65280, 0xff00)

MogileFS::Client utilizes the fields pragma for defining objects. Before perl 5.9.0 fields utilized psuedo-hashes for the objects, which are not completely compatible with regular blessed hashes.

MogileFS::Client utilizes the fields pragma for defining objects. Before perl 5.9.0 fields utilized psuedo-hashes for the objects, which are not completely compatible with regular blessed hashes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant