Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^3: equivalent on Strawberry Perl?

by exilepanda (Pilgrim)
on Jan 07, 2017 at 12:37 UTC ( #1179125=note: print w/replies, xml ) Need Help??

in reply to Re^2: equivalent on Strawberry Perl?
in thread equivalent on Starwberry Perl?

I am on 5.24. I will need sitecustomize for something like this :
#1. export a global sharable variable require Exporter; our @ISA = qw/Exporter/; our @EXPORT = qw/%GV/; our %GV = (....); #2. add more Lib path push @INC, "D:/Lib/$ENV{SERVER_NAME}" if ($ENV{REMOTE_ADDR}) ; #3. define some dynamic path $ENV{MyData} = "D:/UsrData/Guest/"; $ENV{MyData} = "D:/UsrData/$ENV{USER}" if (length $ENV{USER});
Though I got   -f    don't do $sitelib/ at startup from perl -h. But no different with/without it.

Replies are listed 'Best First'.
Re^4: equivalent on Strawberry Perl?
by Anonymous Monk on Jan 07, 2017 at 17:29 UTC
    Why would those need to be set from sitecustomize was oppossed to
      Because this is a valid perl feature that I should able to use, and I am using it with perlrun's suggested purpose.
        :) sure, its valid. But its also very specific. Like app specific ... Portable

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2020-02-21 13:39 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (96 votes). Check out past polls.