{
$ex->extract("mydir");
- my @new = <$outdir/maildir/new/*>;
+ my @new = glob("$outdir/maildir/new/*");
is(scalar @new, 1, "one file now exists in maildir");
my $f = $new[0];
open my $fh, '<', $f or die "opening $f failed: $!\n";
{
$ex->extract("mydir");
- my @new = <$outdir/maildir/new/*>;
+ my @new = glob("$outdir/maildir/new/*");
is(scalar @new, 1, "one new file now exists in maildir");
my $f = $new[0];
open my $fh, '<', $f or die "opening $f failed: $!\n";
{
$ex->extract("mydir");
- my @new = <$outdir/maildir/new/*>;
+ my @new = glob("$outdir/maildir/new/*");
is(scalar @new, 1, "one new file now exists in maildir");
my $f = $new[0];
open my $fh, '<', $f or die "opening $f failed: $!\n";