Re: Brain stuck on forming a hash

2004-03-19 Thread Chris Zimmerman
My apologies to the list for being so vague in the first message. My on-call week has sapped what little brain power i had left. Here's what I was able to come up with yesterday: sub read_cust_config { my ($direction)=$_[0]; foreach $cust (@customers) { chomp $cust

Re: Brain stuck on forming a hash

2004-03-19 Thread R. Joseph Newton
Chris Zimmerman wrote: > Obviously I am a beginner, so bear with me: > > I have an array, @customers, that has a list of names. For each > customer I need to read in a config file, $cust.morestuff.cfg which is > formatted: > > Filename-mask Upload Name Hostname > X-Type

Brain stuck on forming a hash

2004-03-18 Thread Chris Zimmerman
Obviously I am a beginner, so bear with me: I have an array, @customers, that has a list of names. For each customer I need to read in a config file, $cust.morestuff.cfg which is formatted: Filename-mask Upload Name Hostname X-Type UserPass I need