Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PERLS predefind modules

Status
Not open for further replies.

lotsToLearn

Programmer
Joined
Jun 10, 1999
Messages
9
Location
CA
I need to get some info on the ENV and Socket modules that are defined in perl. <br>
<br>
How can I be sure that perl is finding these modules? <br>
<br>
I have some perl code that includes the following lines. <br>
<br>
use lib &quot;$ENV{HOME}&quot;;<br>
<br>
What does this do. How I can list the Environment defined in this module. <br>
<br>
I have another chunk of code that gets a socket. <br>
<br>
$nRet = socket(SOCK, PF_INET, SOCK_STREAM, $Protocol);<br>
<br>
When I run this program from the command prompt the socket is created and the program continues. However when I call the program from a Java application I don't get the socket connection. I suspect the program can't find the socket module. How can I make it find this module. <br>
<br>
Thanks for all of your help. <br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top