Mavnn's blog

Stuff from my brain

We're running Cloud Native .NET in Brighton, 26th-27th April 2018. High quality training for building .NET Core, distributed, production ready systems.

Perls Before Swine

Buried in the depths of our code base (.NET house) has been a single
Perl script, hacked together by an ex-college one afternoon to
eliminate an infrequent and boring (read: error prone) task.

Which is great and all, but that ‘infrequent’ moment has arrived once
more, and none of the rest of us have Perl installed. None of the rest
of us really want to install it, either…

An other afternoon later, and we now have an F# version of the script
checked into source control, and the first (and last) piece of Perl
has left source control. The new version is just as quick and dirty as
the old, but at least can be run on any of our machines. As a matter
of general interest, before and after versions below: