Gossamer Forum
Home : Products : DBMan : Installation :

redefining multiple variables to 1 new variable -- HELP

Quote Reply
redefining multiple variables to 1 new variable -- HELP
I would like to redefine about 5 $rec{'variables'} to one new $rec{'new'} variable. Do I just use an equal sign? ie;
$rec{'variable1'}=$rec{'new'}
$rec{'variable2'}=$rec{'new'}
$rec{'variable3'}=$rec{'new'}
Will this work?

Thanks
Quote Reply
Re: redefining multiple variables to 1 new variable -- HELP In reply to
I'm not sure what you want to do. The way you have it would assign the value of $rec{'new'} to each of the variables. (Don't forget to add the semi-colon to the end of the lines!) If that's what you want, that's the way to do it.


------------------
JPD