if (eval { symlink("",""); 1 }) { symlink "a", "b"; } else { print "symlink is not implemented\n"; }