faas template pull https://github.com/dheffx/perl-openfaas-template
two variants:
- perl
- perl-mojo
Both use 5.26.3 by default but can be changed via PERL_VERSION
argument
Simply slurps up STDIN and makes it available to the function, then encodes the result
faas new my-function-in-perl --lang perl
Uses Mojo::Lite to allow handling of HTTP request
faas new my-mojo-in-perl --lang perl-mojo
The perl-mojo template uses the of-watchdog in openfaas-incubator
ssl
: openssl, openssl-dev, perl-net-ssleay