CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Some Perl modules are using %ENV.

 



digioleg54
User

Apr 25, 2017, 9:17 AM

Post #1 of 9 (1447 views)
Some Perl modules are using %ENV. Can't Post

Some Perl modules are suing %ENV. Does it mean I have to set up them in our %ENV for apache?


FishMonger
Veteran / Moderator

Apr 25, 2017, 11:48 AM

Post #2 of 9 (1436 views)
Re: [digioleg54] Some Perl modules are using %ENV. [In reply to] Can't Post

How does this question differ from your earlier one for "How to set up %ENV on Apache"?

I would think the same answer would apply here.


digioleg54
User

Apr 25, 2017, 11:52 AM

Post #3 of 9 (1434 views)
Re: [FishMonger] Some Perl modules are using %ENV. [In reply to] Can't Post

You replied where I can get a modules. TThese question may be related, but I answer it in that question also after your answer
Read please and try to explain the situation

Thanks


FishMonger
Veteran / Moderator

Apr 25, 2017, 11:57 AM

Post #4 of 9 (1430 views)
Re: [digioleg54] Some Perl modules are using %ENV. [In reply to] Can't Post

It's difficult to explain a solution when you haven't given a clear description of the problem and because of that, any explanation I give may not fix the problem you're trying to solve.

You need to give a clear explanation of your problem before we can give a proper solution.


digioleg54
User

Apr 25, 2017, 12:05 PM

Post #5 of 9 (1427 views)
Re: [FishMonger] Some Perl modules are using %ENV. [In reply to] Can't Post


Code
Package Cwd 

my $cwd = `$pwd_cmd`;

line 228
do I have to change it on Apache?

Thanks


FishMonger
Veteran / Moderator

Apr 25, 2017, 12:19 PM

Post #6 of 9 (1420 views)
Re: [digioleg54] Some Perl modules are using %ENV. [In reply to] Can't Post

Are you writing your own custom Cwd.pm module or are you thinking about modifying perl's core Cwd module?

In either case, that's a very very very bad idea.


digioleg54
User

Apr 25, 2017, 12:42 PM

Post #7 of 9 (1417 views)
Re: [FishMonger] Some Perl modules are using %ENV. [In reply to] Can't Post

I copied and pasted. Check the code in CPAN


FishMonger
Veteran / Moderator

Apr 25, 2017, 1:28 PM

Post #8 of 9 (1410 views)
Re: [digioleg54] Some Perl modules are using %ENV. [In reply to] Can't Post

DON'T TOUCH the code in that module. Given your current level of knowledge, you'll break it if you attempt to modify it.


(This post was edited by FishMonger on Apr 25, 2017, 1:28 PM)


digioleg54
User

Apr 26, 2017, 4:56 AM

Post #9 of 9 (1397 views)
Re: [FishMonger] Some Perl modules are using %ENV. [In reply to] Can't Post

I don't touch, just ask you. But I understand already

Thanks

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives