This presentation covers some of the Mojolicious toolkit—a suite of classes that enables the Mojolicious web framework—and provides illustrations of many of the more useful modules. Slides and code samples are available at https://scottw.github.io/presentations/mojolicious-toolkit and https://github.com/scottw/mojolicious-toolkit respectively.
This presentation uses Mojolicious version 7.84 which was released in June 2018.
I gave a presentation this week about JSON Schema and OpenAPI.
Here are the slides for the presentation; here is the source code used in the presentation.
Video expertly recorded and edited by Doran Barton:
I gave a presentation last week at Bluehost about using functional programming techniques to overcome some of the common quandaries in procedural codebases.
Here’s the blurb:
Functional programming is the oldest but least well known of the three major programming paradigms. While it has a reputation for inscrutability, many of its tenets can be applied to both procedural and object-oriented paradigms to reduce complexity and create cleaner code. In this workshop we’ll get a taste of functional programming in Perl and apply the techniques we learn to refactoring and removing common procedural anti-patterns.
I gave a presentation about Kubernetes (using a Mojolicious Perl application as the example). Here are the sources and here are the slides.
As usual, Doran Barton put together an expert recording:
Here is a link to my SOLID MVC in Perl presentation slides, and here is a link to the Perl sources used. I’ll post the recording here as soon as it’s available.
Photo by Robert Lukeman via Unsplash.
Apple removed the OpenSSL header files in “El Capitan”, making it hard to build OpenSSL-dependent libraries without modifying your system a little bit.
Fortunately we have Homebrew; if you don’t have it yet, go ahead and install it now. I’ll wait here.
Ready? Now, repeat after me:
$ brew doctor (now fix anything that it tells you to fix)
$ brew update
$ brew upgrade
We’re just warming up with all that; it’s good to stay current with things like OpenSSL, which tends to go stale fast. Now let’s install it:
I presented at our Salt Lake Perl Mongers about using Docker to isolate dependencies in your Perl applications.
I gave a talk at OpenWest about Perl’s AnyEvent module and some of its primitive operations.
I gave a presentation at OpenWest about Perl dependency isolation using perlbrew
and plenv
+ carton
:
Given a multi-level deep hash reference:
my $conf = {
bucket => {
list => {
h => 'help me',
_sub => sub { say "something" }
}
},
file => {
upload => {
h => 'help me too',
_sub => sub { say "else" }
}
}
};
We want to remove all of the _sub
keys and put them in a separate hash reference with the same structure. This does that: