# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #123348] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=123348 >
<bartolin> maybe a stupid question: if I have an array @a=1,2,3 -- how can I create a parcel which has the same elements as @a? <masak> m: my @a = 1, 2, 3; say @a.Parcel.perl <camelia> rakudo-moar 91d899: OUTPUT«(ListIter.new(),)» <masak> m: my @a = 1, 2, 3; say @a.Parcel.elems <camelia> rakudo-moar 91d899: OUTPUT«1» <masak> :/ <masak> m: my @a = 1, 2, 3; say @a.list.Parcel.elems <camelia> rakudo-moar 91d899: OUTPUT«1» <masak> :/ :/ <bartolin> . o O (maybe a not-so-stupid-question) ;-) * masak confesses to not having a good intuition for Perl 6 coercers <moritz> m: my @a = 1, 2, 3; say @a.eager.Parcel.perl <camelia> rakudo-moar 91d899: OUTPUT«(1, 2, 3)» <moritz> bartolin: ^^ that seems to work <bartolin> thanks a lot! * masak is unsatisfied by that * moritz too <moritz> array assignment is already eager <moritz> why should the .eager be necessary? * masak submits rakudobug