http://www.perlmonks.org?node_id=997193


in reply to Re: -e file test won't follow symlinks?
in thread -e file test won't follow symlinks?

I assume you peeked at the test scripts on the usage of setup_symlink(). My bad for not yet providing a Synopsis, but you don't actually need some of the arguments. You only need:

my $res = setup_symlink( symlink => "/y", target => "/$x/x", );

And BTW, I think Setup::File::Symlink is a bit of an overkill in this case.