From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

#!perl
use strict;
use lib 't';
use Test::More tests => 1;
filter_test(
[ firstlinematch => '/^#!.*perl/' ], [
't/swamp/#emacs-workfile.pl#',
't/swamp/0',
't/swamp/Makefile.PL',
't/swamp/__pycache__/notes.pl',
't/swamp/options-crlf.pl',
't/swamp/options.pl',
't/swamp/options.pl.bak',
't/swamp/perl-test.t',
't/swamp/perl-without-extension',
't/swamp/perl.cgi',
't/swamp/perl.pl',
't/swamp/perl.pm',
't/swamp/blib/ignore.pm',
't/swamp/blib/ignore.pod',
], 'only files with "perl" in their first line should be matched'
);