#!/usr/bin/env perl
use Mojolicious::Lite;
get '/' => sub {
my $c = shift;
$c->render(text => 'Hello World!');
};
app->start;
__END__
####
$ ./1.mojo.pl daemon
[2020-04-25 19:20:12.17317] [2970] [info] Listening at "http://*:3000"
Server available at http://127.0.0.1:3000
^C$
##
##
full XPath: /html/body/form/center/table/tbody/tr[1]/td/table/tbody/tr[3]/td[1]/input
selector: body > form > center > table > tbody > tr:nth-child(1) > td > table > tbody > tr:nth-child(3) > td:nth-child(1) > a
XPath: /html/body/form/center/table/tbody/tr[1]/td/table/tbody/tr[3]/td[1]/a
JSPath: document.querySelector("body > form > center > table > tbody > tr:nth-child(1) > td > table > tbody > tr:nth-child(3) > td:nth-child(1) > a")
##
##
[
"tag",
"input",
{ name => "date", onclick => 0, type => "radio", value => 2 },
'fix',
],
["text", " ", 'fix'],
[
"tag",
"a",
{ href => "/yoursky/help/controls.html#Julian" },
'fix',
["text", "Julian day:", 'fix'],
],
["text", "\n", 'fix'],
],
["text", "\n", 'fix'],
[
"tag",
"td",
{},
'fix',
["text", "\n", 'fix'],
[
"tag",
"input",
{
name => "jd",
onchange => "document.request.date[2].checked=true;",
size => 20,
type => "text",
value => 2458963.36684,
},