adventofcode/2018/08/sol1.pl
Yanick Champoux 3643356cf0 day8
2018-12-08 16:26:34 -05:00

19 lines
241 B
Perl

use 5.20.0;
use warnings;
use experimental qw/
signatures
postderef
/;
use lib './lib';
use Entry;
use List::AllUtils qw/ sum /;
my @input = split / /, <>;
my $entry = Entry->new( stream => \@input );
say sum $entry->all_data;