XML module question?

2021-07-15 Thread William Michels via perl6-users
Hi, I'm trying to put an answer together for SO, and I keep running into the same difficulty. Given a CSV file, how can one produce an XML file with latitude and longitude values properly quoted? Every time I get proper quoting, "lat" and "lon" are scrambled (i.e. sometimes "lat" first, sometimes

Re: [naive] hash assingment

2021-07-15 Thread Vadim Belman
The discussion took an interesting route. :) The problem with an array in a hash is the problem of hashes implicitly itemizing values. Consider the example: ⇒ raku -e 'my %h = a => [1,2,3,4]; say %h.raku; say (%h ==> map({ sqrt $_ })); %h := [1,2,3,4]; say %h.raku; say (%h ==> map({ sqrt $_