On Tue, 17 Aug 2004 [EMAIL PROTECTED] wrote:
So how do I read this in? I know I need to open the file, etc etc
etc.. I was thinking I need:
open(CONF, ">$CONFFileName") || die "ERROR: could not open $CONFFileName, $!\n";
Opening a file with the '>' means "overwrite the existing contents".
This p
[EMAIL PROTECTED] wrote:
> Hi all, newbie question: I've got this .pl that has variables hard
> coded in it, and I need to draw these form a file instead... Here's
> roughly what I've got, how can I get the variables from a file in
> stead?
>
> my %ldap_hosts =("SOME_ENVIRONMENT_NAME" => "serv