Now I am really confused. It is all over the place on
http://perl6maven.com/simple-web-client
<http://perl6maven.com/simple-web-client>
For instance:
{
"args": {
"language": "Perl",
"math": "19+23=42",
"name": "Larry Wall"
},
"headers": {
"Connection": "close",
"Host": "httpbin.org <http://httpbin.org>",
"User-Agent": "LWP::Simple/0.090 Perl6/rakudo"
},
"origin": "17.19.208.37",
"url": "http://httpbin.org/get?name=Larry
<http://httpbin.org/get?name=Larry>
Wall&language=Perl&math=19%2B23%3D42"
}
Confusedly yours,
-T
On Fri, Jul 28, 2017 at 5:39 PM, ToddAndMargo <toddandma...@zoho.com
<mailto:toddandma...@zoho.com>> wrote:
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.
On 07/28/2017 02:41 PM, Brandon Allbery wrote:
> That's not Perl, it's JSON generated by Perl.
Mumble, mumble ... I have a hard enough time learning
Perl without someone throwing in another language.
Mumble ...
Thank you for the help.
And "=>" is just assigning values to an associative array
not assigning values to a reference pointer