#!perl -w
use strict;
use Test;
BEGIN { plan tests => 4 };
use Cwd;

my $cwd = cwd;
ok(`$^X t/cwd.plx`, $cwd);
ok(`./pperl t/cwd.plx`, $cwd);

chdir 't';
$cwd = cwd;
ok(`$^X cwd.plx`, $cwd);
ok(`../pperl cwd.plx`, $cwd);

`../pperl -k cwd.plx`;


syntax highlighted by Code2HTML, v. 0.9.1