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

hmap is not autoboxed #270

Closed
daxim opened this issue Jul 1, 2013 · 1 comment
Closed

hmap is not autoboxed #270

daxim opened this issue Jul 1, 2013 · 1 comment

Comments

@daxim
Copy link
Contributor

daxim commented Jul 1, 2013

$ perl5i -e'+{0..9}->each'
eech is deprecated, use hmap instead at …/perl5i/2/HASH.pm line 15.
eich is deprecated, you should use iterator() instead at …/perl5i/2/HASH.pm line 15.
argument is not a reference at …/x86_64-linux-thread-multi-ld/Hash/StoredIterator.pm line 112.

$ perl5i -e'+{0..9}->hmap'
Can't call method "hmap" on unblessed reference at -e line 1.
@exodist
Copy link
Contributor

exodist commented Jul 1, 2013

oops, this is a trivial thing to fix, within HASH.pm the import needs to be updated (and the min versions of Hash::StoredIterator required for perl5i needs to be bumped) also update all the calls to eich and eech inside HASH.pm to use the new functions.

I can't do this now, about to start work. But I will try to get to it tonight.

@exodist exodist closed this as completed in 772e3aa Jul 4, 2013
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

No branches or pull requests

2 participants