Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Is ActivePerl repositories go free again?

by shmem (Chancellor)
on Apr 30, 2017 at 11:32 UTC ( [id://1189206]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Is ActivePerl repositories go free again?
in thread Is ActivePerl repositories go free again?

You can even place your siteconfig.pm in a custom directory (or just link it thereto), e.g. X:\myconfig\perl and set PERL5OPT to -IX:\myconfig\perl -Msiteconfig, so you don't have to mess with installation paths at all.

On my system (Linux):

# file /tmp/perl/siteconfig.pm print "loaded " . __FILE__ . " from $INC[0]\n"; shift @INC; # done with files in /tmp/perl 1;
qwurx [shmem] ~> env PERL5OPT='-I/tmp/perl -Msiteconfig' perl -e 1 loaded /tmp/perl/siteconfig.pm from /tmp/perl

The shift @INC restores the original @INC perl lib search path array. Comment it out if that config directory contains more of your custom modules which should be found first. This is all in perlrun, which is worth reading thoroughly.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Replies are listed 'Best First'.
Re^6: Is ActivePerl repositories go free again?
by exilepanda (Friar) on May 07, 2017 at 04:16 UTC
    It worked! Both way worked! Thank you soooooo much!! Now I can seriously consider to leave AS Perl! =D

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-25 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found