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
Sereal 4.006 does not export read_sereal and decode_sereal in contrast to the documentation #197
Comments
ppisar
changed the title
Sereal 4.006 does not export read_sereal and decode_sereal in costrast to the documentation
Sereal 4.006 does not export read_sereal and decode_sereal in contrast to the documentation
Apr 9, 2019
On Tue, 9 Apr 2019 at 15:23, Petr Pisar ***@***.***> wrote:
Sereal 4.006 stopped exporting read_sereal and decode_sereal symbols
although it still documents them in the POD:
=head1 NAME
Sereal - Fast, compact, powerful binary (de-)serialization
=head1 SYNOPSIS
use Sereal qw(
get_sereal_decoder
get_sereal_encoder
clear_sereal_object_cache
encode_sereal
decode_sereal
write_sereal
read_sereal
$ perl -Ilib -e 'use Sereal qw(read_sereal);'
"read_sereal" is not exported by the Sereal module
Can't continue after import errors at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
This used to work in 4.005:
***@***.*** Sereal-4.005]$ perl -Ilib -e 'use Sereal qw(read_sereal);'
Is the removal of the export intentional? If it is, the documentation
should be updated. By the way, this is an API breaking change and it should
be properly documented in the Changes file that's missing any entry for
4.006.
No, it was a daft mistake. Thank you so much for catching it and reporting
it so quickly.
I will roll a release shortly, right after I add tests to make sure all
these exports work as intended.
Thanks a lot. Really.
Yves
…--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
This should be fixed in v4.007
Thanks!
Yves
…On Tue, 9 Apr 2019 at 15:23, Petr Pisar ***@***.***> wrote:
Sereal 4.006 stopped exporting read_sereal and decode_sereal symbols although it still documents them in the POD:
=head1 NAME
Sereal - Fast, compact, powerful binary (de-)serialization
=head1 SYNOPSIS
use Sereal qw(
get_sereal_decoder
get_sereal_encoder
clear_sereal_object_cache
encode_sereal
decode_sereal
write_sereal
read_sereal
$ perl -Ilib -e 'use Sereal qw(read_sereal);'
"read_sereal" is not exported by the Sereal module
Can't continue after import errors at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
This used to work in 4.005:
***@***.*** Sereal-4.005]$ perl -Ilib -e 'use Sereal qw(read_sereal);'
Is the removal of the export intentional? If it is, the documentation should be updated. By the way, this is an API breaking change and it should be properly documented in the Changes file that's missing any entry for 4.006.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
I confirm 4.007 fixed this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sereal 4.006 stopped exporting read_sereal and decode_sereal symbols although it still documents them in the POD:
This used to work in 4.005:
Is the removal of the export intentional? If it is, the documentation should be updated. By the way, this is an API breaking change and it should be properly documented in the Changes file that's missing any entry for 4.006.
The text was updated successfully, but these errors were encountered: