943,529 Members | Top Members by Rank

Ad:
  • Perl Discussion Thread
  • Marked Solved
  • Views: 965
  • Perl RSS
Jul 30th, 2009
0

wanted to read a unix PATH variable into perl script

Expand Post »
Hello,

I am facing the a probelm, I wanted to read a unix PATH variable into perl script. But its not working.

$path_var=`$PATH`;

Can u help me in doing this.


Thanks in advance,
Subii
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
subii P is offline Offline
3 posts
since Jul 2009
Jul 30th, 2009
0

Re: wanted to read a unix PATH variable into perl script

As in the response to your hijack post in the other thread
Perl Syntax (Toggle Plain Text)
  1. $ENV{PATH}
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Perl Forum Timeline: * not working in perl system call - help please
Next Thread in Perl Forum Timeline: how to read unix profile variable into Perl





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC