On 1/9/20 7:10 PM, ToddAndMargo via perl6-users wrote:
'my uint32 $c; $c = "ABC";'
The error shows that you cannot assign a string to an int (*This type cannot unbox to a native integer: P6opaque, Str*)

You can do the following to get it right;

'p6  -e 'my uint32 $c; $c = 0xABC;''


Reply via email to