first commit

This commit is contained in:
2025-06-03 23:03:08 +02:00
commit d40894b155
49 changed files with 49341 additions and 0 deletions

25
lite.pl Normal file
View File

@@ -0,0 +1,25 @@
# Automatically enables "strict", "warnings", "utf8" and Perl 5.16 features
use Mojolicious::Lite -signatures;
use Data::Printer;
# Route with placeholder
get '/:foo' => sub ($c) {
my $foo = $c->param('foo');
$c->render(text => "Hello");
};
get '/' => sub ($c) {
p $c->tx->req;
$c->render(text => "Hello");
};
post '/*' => sub ($c) {
p $c->tx;
$c->render(text => "Helloo.");
};
# Start the Mojolicious command system
app->start;