3 ms·
I've been a Perl user since 1994 or so, using it for an endless variety of small scripts to aid my $work and computer use in general. Since 2010 or so the vast
by colomon 10y ago
I've been a Perl user since 1994 or so, using it for an endless variety of small scripts to aid my $work and computer use in general. Since 2010 or so the vast majority of new scripts I've written have been in Perl 6, and I've ported a few of the older ones rather than try to make extensive modifications in my old Perl 6 code.
My biggest Perl 6 project (much bigger than anything I ever tried in Perl 4/5) is the ABC module [1]. This provides a grammar for parsing ABC music notation [2], a set of classes for representing ABC data, and some scripts built using it. The one I use the most is abc2ly, which translates ABC files to Lilypond format [3] for producing beautiful sheet music [4].
The other tool of mine I use routinely is TagTools [5]. There's nothing really fancy there, just a bunch of simple scripts which use Perl 6's Audio::Taglib::Simple module to work with the tags on MP3 files. But they were easy to write, come in handy for working with MP3s, and are easy to modify for odd cases.
Recently I've done a couple of scripts which rely on Inline::Python. The latest is wunderlist.pl, which I have installed in cron to update my Wunderlist to-do list every day. There is (to the best of my knowledge) no Perl6 module for working with the Wunderlist API, but there is a Python module, wunderpy2. There is a bit of boilerplate glue code there (lines 16-21 of the script) but once that's done using the Python module is almost indistinguishable from working with normal Perl 6. (Of course, if you're fluent in Python this maybe isn't such a big deal for you, but I don't know more than a tiny bit of Python, and Inline::Python lets me effectively use Python modules from the comfortable-to-me world of Perl 6.)
[1] https://github.com/colomon/ABC https://github.com/colomon/ABC (Note that as I write this, the README is about 4 years out of date.]
[2] http://abcnotation.com/ http://abcnotation.com/
[3] http://lilypond.org/ http://lilypond.org/
[4] For instance, http://www.harmonyware.com/tunes/They_Sailed_From_Belfast.html http://www.harmonyware.com/tunes/They_Sailed_From_Belfast.ht...
[5] https://github.com/colomon/TagTools https://github.com/colomon/TagTools
[6] https://gist.github.com/colomon/89a6e7b8bf7694aa42e83058bb43f489 https://gist.github.com/colomon/89a6e7b8bf7694aa42e83058bb43...