File::Copy::Link

File::Copy::Link is a Perl extension for replacing a link by a copy of the linked file.
Download

File::Copy::Link Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Robin Barker
  • Publisher web site:
  • http://search.cpan.org/~rmbarker/File-Copy-Link-0.080/lib/File/Spec/Link.pm

File::Copy::Link Tags


File::Copy::Link Description

File::Copy::Link is a Perl extension for replacing a link by a copy of the linked file. File::Copy::Link is a Perl extension for replacing a link by a copy of the linked file.SYNOPSIS use File::Copy::Link; copylink 'file.lnk'; use File::Copy::Link qw(safecopylink); safecopylink 'file.lnk'; copylinkreads the filename linked to by the argument and replaced the link with a copy of the file. It opens a filehandle to read from the link, deletes the link, and then copies the filehandle back to the link.safecopylinkdoes the same as copylink but without the open-and-delete manouvre. Instead, it uses File::Spec::Link to find the target of the link and copies from there.This module is mostly a wrapper round File::Spec::Link::linked and File::Copy::copy, the functionality is available in a command line script copylink. Requirements: · Perl


File::Copy::Link Related Software