1symlink(3)            User Contributed Perl Documentation           symlink(3)
2
3
4

NAME

6       PerlIO::via::symlink - PerlIO layers for create symlinks
7

SYNOPSIS

9        open $fh, '>:via(symlink)', $fname;
10        print $fh "link foobar";
11        close $fh;
12

DESCRIPTION

14       The PerlIO layer "symlink" allows you to create a symbolic link by
15       writing to the file handle.
16
17       You need to write C"link $name" to the file handle. If the format does
18       not match, "close" will fail with EINVAL.
19

TEST COVERAGE

21        ----------------------------------- ------ ------ ------ ------ ------ ------
22        File                                  stmt branch   cond    sub   time  total
23        ----------------------------------- ------ ------ ------ ------ ------ ------
24        blib/lib/PerlIO/via/symlink.pm       100.0  100.0    n/a  100.0  100.0  100.0
25        Total                                100.0  100.0    n/a  100.0  100.0  100.0
26        ----------------------------------- ------ ------ ------ ------ ------ ------
27

AUTHORS

29       Chia-liang Kao <clkao@clkao.org>
30
32       Copyright 2004-2005 by Chia-liang Kao <clkao@clkao.org>.
33
34       This program is free software; you can redistribute it and/or modify it
35       under the same terms as Perl itself.
36
37       See <http://www.perl.com/perl/misc/Artistic.html>
38
39
40
41perl v5.32.1                      2021-01-27                        symlink(3)
Impressum