Acme-CPANModulesBundle-Import-MojoliciousAdvent-2017

 view release on metacpan or  search on metacpan

devdata/https_mojolicious.io_blog_2017_12_21_day-21-virtually-a-lumberjack  view on Meta::CPAN

20:c2:00:3c:e0:16:fe:d1:ff:04:00:62:00:d5: ...
20:c2:00:3c:e0:16:fe:d1:ff:04:00:62:00:d5: ...
</code></pre>

<h2>Pretty Good Mojo</h2>

<p>What we are going to do is get our Mojo-powered script to read this data and
output it to a PGM file.
PGM is an image format that can be created using plain text files and is
pretty much perfect for our use as we can see it both visually and easily
manipulate it with standard *nix tools like <em>cut</em>, <em>head</em> and <em>sed</em>.</p>

<pre><code>#!/usr/bin/env perl
use Mojo::Base &#39;-base&#39;;

use Mojo::Asset::File;
use Mojo::IOLoop;
use Mojo::IOLoop::Stream;

use Mojo::Loader &#39;data_section&#39;;



( run in 1.485 second using v1.01-cache-2.11-cpan-df04353d9ac )