Sure i can, i'm just trying to create a set of variables that match the database field names filled with the relevant data (a good 800 or so fields).
As i said i understand it could be better to use hashes and so on, but in this case the variables built from @names aren't variables at all, because they are fieldnames from a database that don't change..
Which allows me to use the one reference in all the applications that access this particular database..
And the above worked perfectly.. Thanks..