After adding share functionality just now, cleaned up some comments and updated README with new packages needed.

Changes to be committed:
	modified:   README.md
	modified:   wordle-life.cgi
This commit is contained in:
peteyboy 2022-02-23 21:29:03 +00:00
parent 0dee763f5f
commit 9c9fe73d54
2 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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);