Packing and unpacking a data structure using Perl6

on perl5, if someone wants to parse the binary, he has the package / unpack utiltiy, where he can convert the binary structure to perl variables and vice verca,

now there is production equivalence for pack / unpack perl6, since from the documentation I found that for Perl6 there are batch / unpack methods, but they are experimental,

Does anyone know the status of these functions, and if there is an alternative to a parser parsing file that contains a list of perl6 entries?

+6
source share
1 answer

You're right, pack / unpack methods are experimental; however, there is currently no other method that is recommended in their place.

The experiment flag indicates that the Perl 6 development team can change the interface. pack and unpack were marked this way because there wasn’t enough time to view and update the interface before the Christmas release in 2015-12.

+6
source

All Articles