On 07/28/2017 02:02 PM, Timo Paulssen wrote:
The first one is valid perl 6 code and the bottom one is not. It's
likely you were looking at JSON (or equivalently JavaScript) and
confused that with perl6 code.
Now I am really confused. It is all over the place on
http://perl6maven.com/simple-web-client
For instance:
{
"args": {
"language": "Perl",
"math": "19+23=42",
"name": "Larry Wall"
},
"headers": {
"Connection": "close",
"Host": "httpbin.org",
"User-Agent": "LWP::Simple/0.090 Perl6/rakudo"
},
"origin": "17.19.208.37",
"url": "http://httpbin.org/get?name=Larry
Wall&language=Perl&math=19%2B23%3D42"
}
Confusedly yours,
-T