Alex Schneider 7dbe704d2d Fix minor bugs 11 years ago
..
dancer 8a80e33c80 Update dancer's nginx.conf to find new test root 11 years ago
kelp 6853a69862 Merge branch 'master' of https://github.com/naturalist/FrameworkBenchmarks into kelp-1011 11 years ago
mojolicious 9f620b83d0 convert one more helper to the ->helpers optimization 11 years ago
plack 7dbe704d2d Fix minor bugs 11 years ago
web-simple 1d08f104ea Point web-simple to TROOT 11 years ago
README.md 0a2fd1e72d a few additions to Perl/README.md 11 years ago

README.md

Installation and Bash Configuration

In order to declare that your framework requires Perl, you should have an install.sh that contains at least

#!/bin/bash

fw_depends perl

This installs the Perl interpreter and some basic modules (see Dependency Management). The install.sh file should then install any required perl modules or other supporting applications.

Perl is installed in the $IROOT directory. Currently, the Perl interpreter used by the test is in version 5.18 family. It is highly recommended that you have a bash_profile.sh in your app's directory that contains at least

#!/bin/bash

export PERL_HOME=${IROOT}/perl-5.18
export PATH="$PERL_HOME/bin:$PATH"

This will provide the $PERL_HOME path - should you need it - and allow all apps installed by Perl to be used directly.

Dependency Management

While installing Perl, the cpanm client is installed as well as the more advanced Carton. Carton can be used to declare and use project specific dependencies with more fine grained control of versions and even pin the specific versions used during development.

Where to get help

Perl advice can be found in #perl on freenode or on any number of channels on irc.perl.org. Frameworks might declare specific app maintainers in their app's README files.