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

#!perl
use strict;
use Test::More tests => 1;
# TEST
is_deeply( [ find( magic => 'image/*', maxdepth => 2, in => 't' ) ],
[ File::Spec->catfile(File::Spec->curdir(), "t", "happy-baby.JPG")]
);