GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FILE::COPY::LINK (3)

.ds Aq ’

NAME

File::Copy::Link - extension for replacing a link by a copy of the linked file

CONTENTS

SYNOPSIS



  use File::Copy::Link;
  copylink file.lnk;

  use File::Copy::Link qw(safecopylink);
  safecopylink file.lnk;



DESCRIPTION

copylink reads 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.
safecopylink does 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.

    EXPORT

Nothing by default, can export copylink, ‘safecopylink.

SEE ALSO

copylink(1) File::Copy(3) File::Spec::Link(3)

AUTHOR

Robin Barker, <RMBarker@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2003, 2006, 2007, 2011, 2014 by Robin Barker

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FILE::COPY::LINK (3) 2014-07-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.