open(CONF," conf.file"); while() { ($variablecmd,$variablename,$newdata) = split(/ /, $_); if ($variablecmd eq "setVariable") { #create new variable named the current value of $variablename } elsif ($variablecmd eq "catVariable") { #assign data to varaible named $variablename } } close(CONF);