The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
#!/usr/bin/perl
use test::helper qw($_real $_point);
use Test::More;
plan tests => 4;
chdir($_point);
open($file, '>', 'file');
close($file);
ok(-f "file","file exists");
chdir($_real);
ok(-f "file","file really exists");
chdir($_point);
unlink("file");
ok(! -f "file","file unlinked");
chdir($_real);
ok(! -f "file","file really unlinked");