> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/open-source/use-harness-open-source/pipelines-1/samples/perl.md).

# Perl

This guide covers configuring continuous integration pipelines for Perl projects.

## Build and Test <a href="#build-and-test" id="build-and-test"></a>

In the below example we demonstrate a pipeline that installs the project dependnecies using `cpanm`, and then executes the project unit tests. These commands are executed inside a Docker container, downloaded at runtime from DockerHub.

```yaml
kind: pipeline
spec:
  stages:
  - type: ci
    spec:
      steps:
      - name: test
        type: run
        spec:
          container: perl
          script: |-
            cpanm --quiet --installdeps --notest .
            perl Build.PL
            ./Build test
```

Please note that you can use any Docker image in your pipeline from any Docker registry. You can use the official perl [images](https://hub.docker.com/r/_/perl/), or your can bring your own.
