What does ActivePerl do when it "moves" files during installation?

Given some unix program that I compiled, what do I need to do to move it to another directory and continue working.

I think of Perl, but I will be interested in other systems, such as Apache, which also seem to fail when this is done. To motivate the issue, the ability to perform such a transfer will be very useful when linking other systems as part of a product installation.

For what it's worth, the ActivePerl installation process seems to contain some magic that performs the move during installation.

Installing ActivePerl...
Copying files to /opt/ActivePerl-5.8...done
Relocating...done (164 files relocated)
Generating HTML documentation...done
Syncing perl PPM database with .packlists...done 

ActivePerl has been successfully installed at /opt/ActivePerl-5.8.

Can someone enlighten me about what is going on behind this "Move ..." line?

+3
5

perl . perl -V. ActivePerl, , , perl perl. . ActiveState reloc_perl , , , .

ActivePerl , . , .

+7

. , , , , , , .

+3

Active Perl perl , .

, Perl- , , , , , . .

+3

, "". , , Linux.

, , , .

0

UltraEdit Perl: , C:\Perl64 G:\Perl64 , "C:\Perl64" "G:\Perl64", exe .

0

Source: https://habr.com/ru/post/1723428/


All Articles