For loop to assign multiple variables

In reply to Mark Curry:

Hi Mark ,

Those variables(var_inst0,var_inst1…) and their corresponding coverpoints are generated automatically from an excel sheet using a perl script. So I would have to manually change wherever these variables are being used. So is there any way to implement the assignment using for loop?

Thanks.