say Blob.new(‘abcde‘.encode(‘utf8‘)).unpack("H*");
say ‘0x‘~‘abcde‘.encode(‘utf8‘).unpack("H*");
use experimental :pack;
say Blob.new(1..10).unpack("H*");
# OUTPUT: ?(1 2 3 4 5 6 7 8 9 10)??
原文:https://www.cnblogs.com/perl6/p/9623562.html