#!/bin/sh

set -e

echo "=== perl ==="

# Run from a scratch directory so that only the installed libmarisa-perl
# binding is used, never bindings/perl/marisa.pm from the source tree.
# See https://bugs.debian.org/1063818
cp bindings/perl/sample.pl "$AUTOPKGTEST_TMP/."
cd "$AUTOPKGTEST_TMP"
perl sample.pl
