Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Perl network programming

by Viki@Stag (Sexton)
on Oct 03, 2007 at 10:37 UTC ( #642369=note: print w/replies, xml ) Need Help??


in reply to Re^3: Perl network programming
in thread Perl network programming

$cfile = $ENV{'OCONFFILE'};
open( CFILE, $cfile ) || return "FAIL0:No such file: $cfile!\n";

The code given above is the actual part tht gets the config file path & opens the file for read.

As u said the code is huge for me to post it. Anyway i got around the issue, it was with setting the global variable OCONFFILE to correct path.

jbert, thanks once again

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://642369]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2017-06-26 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (585 votes). Check out past polls.