Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Cloning perl/site/lib directory?

by almut (Canon)
on Apr 22, 2010 at 22:22 UTC ( [id://836357]=note: print w/replies, xml ) Need Help??


in reply to Cloning perl/site/lib directory?

For pure-Perl modules this should work just fine.

For XS modules it might also work, provided you have the same version of Perl (at least the same major version, threaded vs. non-threaded build, same C runtime lib), the same architecture (e.g. 32-bit vs, 64-bit), and any dependent (3rd-party) shared libraries that some of the XS modules might be linked against (think of Imager, for example) are available (in the same versions) on both machines. — The problem with the latter often lies in the details...

Replies are listed 'Best First'.
Re^2: Cloning perl/site/lib directory?
by aplonis (Pilgrim) on Apr 23, 2010 at 00:48 UTC
    Can I get away with just C:\Perl\site\lib do you think? Or do I need all of C:\Perl\site?

      An XS library can link to theoretically anything on your system which means stuff that is outside the c:\Perl directory. So no guarantees that we will have copied everything over.

      If you are behind a firewall, perhaps you should create a CPAN::Mini on a USB drive( I would say CD but I think the size would approach 1+ GB) at home and then bring that to work (or where ever you intend to be using it).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://836357]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-25 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found