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:
parent
0dee763f5f
commit
9c9fe73d54
@ -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*:
|
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)
|
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)
|
||||||
|
@ -12,8 +12,6 @@ use Mojo::Loader 'data_section';
|
|||||||
#use Routes::Tiny; #don't even need
|
#use Routes::Tiny; #don't even need
|
||||||
use Readonly;
|
use Readonly;
|
||||||
use List::Util qw(first);
|
use List::Util qw(first);
|
||||||
#use HTML::Entities;
|
|
||||||
#use URL::Encode;
|
|
||||||
|
|
||||||
#===
|
#===
|
||||||
# MAKE SURE ORIGIN PAGE MATCHES FILENAME (especially if you are testing changes)!
|
# MAKE SURE ORIGIN PAGE MATCHES FILENAME (especially if you are testing changes)!
|
||||||
@ -86,7 +84,7 @@ use List::Util qw(first);
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
#die "Invalid wordle parameter" unless length $wordle;
|
die "Invalid wordle parameter" unless length $wordle;
|
||||||
|
|
||||||
#Load template from DATA section and output
|
#Load template from DATA section and output
|
||||||
#my $mt = Mojo::Template->new(auto_escape => 1, vars => 1);
|
#my $mt = Mojo::Template->new(auto_escape => 1, vars => 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user