Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Rename formatter, make it executable

  • Loading branch information...
commit 01a2fb5d4a060de8c66b50568760b512df811859 1 parent b7843aa
Tadeusz Sośnierz authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  formatter.pl → formatter
3  formatter.pl → formatter 100644 → 100755
... ... @@ -1,3 +1,4 @@
  1 +#!/usr/bin/env perl
1 2 use 5.014;
2 3 use Mojo::JSON;
3 4 use Mojo::Template;
@@ -6,4 +7,4 @@
6 7 my $mt = Mojo::Template->new;
7 8
8 9 my $results = Mojo::JSON->new->decode(slurp 'results.json');
9   -print $mt->render_file('template.tt', $results);
  10 +print $mt->render_file_to_file('template.tt', 'index.html', $results);

0 comments on commit 01a2fb5

Please sign in to comment.
Something went wrong with that request. Please try again.