diff --git a/README.md b/README.md index aa90a9e..11c6b33 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,13 @@ Here's what I used to [install the perl module I needed with cpanm](https://stac then for each package, you can run *cpanminus*: - $>cpanm CGI::Tiny + $> cpanm CGI::Tiny ... - $>cpanm Mojo::Template + $> cpanm Mojo::Template ... - $>cpnam Mojo::Loader + $> cpnam Mojo::Loader + ... + $> cpanm Readonly ... Also, the Life Viewer is a super-cool javascript plugin app from the people at [Conwaylife.com](https://conwaylife.com) that is expected to be in the same directory as the CGI file. It is available with instructions [here](https://conwaylife.com/wiki/Tutorials/LifeViewer_JavaScript_plug-in) diff --git a/wordle-life.cgi b/wordle-life.cgi index c3721a7..2fe9223 100755 --- a/wordle-life.cgi +++ b/wordle-life.cgi @@ -12,8 +12,6 @@ use Mojo::Loader 'data_section'; #use Routes::Tiny; #don't even need use Readonly; use List::Util qw(first); -#use HTML::Entities; -#use URL::Encode; #=== # MAKE SURE ORIGIN PAGE MATCHES FILENAME (especially if you are testing changes)! @@ -86,7 +84,7 @@ use List::Util qw(first); exit; } - #die "Invalid wordle parameter" unless length $wordle; + die "Invalid wordle parameter" unless length $wordle; #Load template from DATA section and output #my $mt = Mojo::Template->new(auto_escape => 1, vars => 1);