ActiveState homepage
docs.activestate.com
ActivePerl 5.32 Documentation
  • Get ActivePerl
      Release notes Windows installation Linux Installaton macOS Installation License
  • Get Started
      Windows Perl 5.32 docs
  • Contact Us

symlink - perldoc.perl.org
Home  > Language reference > Functions > symlink
Perl 5 version 32.0 documentation

symlink

Perl functions A-Z | Perl functions by category | The 'perlfunc' manpage
  • symlink OLDFILE,NEWFILE

    Creates a new filename symbolically linked to the old filename. Returns 1 for success, otherwise. On systems that don't support symbolic links, raises an exception. To check for that, use eval:

    1. my $symlink_exists = eval { symlink("",""); 1 };

    Portability issues: symlink in perlport.

Documentation built with Hugo using the Material theme.
ActiveState Platform   Downloads   Community   Code Recipes  
© 2020 ActiveState Software Inc. All rights reserved. Trademarks. Privacy Policy.