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 compatibility with Future::XS #6

Merged
merged 1 commit into from Mar 11, 2024

Conversation

haarg
Copy link
Contributor

@haarg haarg commented Dec 11, 2022

With Future 0.49, Future objects may be implemented with Future::XS, which doesn't use blessed hashrefs for its objects. Instead, it provides the udata and set_udata methods for subclasses to store data.

Update the Future prereq to 0.49 to provide the udata/set_udata methods, and use them rather than storing directly in the object.

With Future 0.49, Future objects may be implemented with Future::XS,
which doesn't use blessed hashrefs for its objects. Instead, it provides
the udata and set_udata methods for subclasses to store data.

Update the Future prereq to 0.49 to provide the udata/set_udata methods,
and use them rather than storing directly in the object.
@Corion
Copy link

Corion commented Dec 11, 2022

Thank you very much! I can confirm that this change fixes the problem with Future::XS installed in my code as well.

@Grinnz Grinnz merged commit 8cee075 into Grinnz:master Mar 11, 2024
@Grinnz
Copy link
Owner

Grinnz commented Mar 11, 2024

Thank you!

Grinnz added a commit that referenced this pull request Mar 11, 2024
  - Fix compatibility with Future implementations like Future::XS (haarg, #6)
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.

None yet

3 participants