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
See https://github.com/dheffx/dcbpw-faas-for-perl/openfaas