So, for a while I’ve observed Perl 6 from afar. I participated in a hackathon in Chicago in 2006, but I didn’t do much, and until two weeks ago I hadn’t written a single line of usable Perl 6 code.
Today I released my first module, a Perl 6 implementation of
Fcntl. It’s using a simple C program to generate a module containing the values of C constants. The only test I could think to write was to make a simple C function that compared the Perl 6 copy of a constant to its C counterpart, and then use
NativeCall to actually run the comparison. It looks like it works, I’ve released it, and you can see it here: https://github.com/manchicken/perl6-Fcntl/