I had a problem where I wanted the longest string from a list. I didn’t want to sort because I wanted to do it with a single pass. (The comments […]
Read moreLatest Posts
All things being equal, not all things are eqv
Perl 6 has a wealth of comparison operators so I don’t have to do a lot of work to test complex data structures. Consider the case where I want to […]
Read moreRakudo Star on AppVeyor
UPDATE – Rakudo is now in Chocolatey so most of this is really easy now. AppVeyor provides continuous testing on Windows. I wanted to try it with Perl 6 since […]
Read moreClose enough
Perl 6 has some amazing numerical features, including builtin complex number computations. You might never need these, but they permit a bit of math geekry that I find quite pleasing. […]
Read moreTesting JSON grammars
Perl 6 grammars make it easy to parse JSON and it’s a favorite example to show off the feature. This post is about testing the grammar; you don’t need another […]
Read moreThree ways to pretty print Perl 6
I’ve had my head down working on the “Grammars” chapter, and along the way I’ve been using dd to look at things. It’s better than nothing, but it’s also very […]
Read moreBBEdit Text Filters in Perl 6
I’ve been writing BBEdit Text Filters in Perl 6. This isn’t revolutionary and I’ve made no great hack. It’s not a hidden part of the BBEdit docs, and it’s not […]
Read more6 More Things About 6, at Boston Perl mongers
The Perl Shop sponsored me to present a Perl 6 talk to the Boston Perl mongers last night. I pulled out six thing that I didn’t talk about at the […]
Read moreAndrew Shitov’s Perl at a Glance
Andrew Shitov has published Perl 6 at a Glance, a survey book for the new language. I haven’t had a change to read it yet, but you can buy it […]
Read moreBuffers, hexdump, and Perl 6 Power Tools
I was playing the buffers and reading binary data but I ended up implementing a Perl 6 version of hexdump. Looking for a place to put it, I figured Perl6PowerTools […]
Read more