PerlIO::via::symlink3pm
Perlio layers for create symlinks
Usage
open $fh, '>:via(symlink)', $fname;print $fh "link foobar";close $fh;
Overview
The PerlIO layer "symlink" allows you to create a symbolic link by writing to the file handle.
You need to write C"link $name" to the file handle. If the format does not match, "close" will fail with EINVAL.
Test coverage
----------------------------------- ------ ------ ------ ------ ------ ------File stmt branch cond sub time total----------------------------------- ------ ------ ------ ------ ------ ------blib/lib/PerlIO/via/symlink.pm 100.0 100.0 n/a 100.0 100.0 100.0Total 100.0 100.0 n/a 100.0 100.0 100.0----------------------------------- ------ ------ ------ ------ ------ ------
Releases
12 releases since Debian 3.1 (Sarge); the text changed 6 times.