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

Experimental pack function return incorrect data #1875

Open
vnluc opened this issue May 27, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@vnluc
Copy link

commented May 27, 2018

The Problem

pack function not working properly

use v6;
use experimental :pack;

say pack('C4', [31, 32, 33,34]);
#=>Buf:0x<1f>

P5pack module doing good:

use P5pack;

say pack('C4', [31, 32, 33,34]);
#=> Buf:0x<1f 20 21 22>

Environment

  • Operating system: Fedora 27
  • Compiler version (perl6 -v):

This is Rakudo version 2018.04 built on MoarVM version 2018.04
implementing Perl 6.c.

@vnluc vnluc changed the title Experimental pack function issue Experimental pack function return incorrect data Jun 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.