in reply to Array values to a decimal string?

I don't understand your explanation of what you want to do. Maybe you could try expanding on your example to show how you want to use the variable(s) later in your script.

Maybe what you want is to have the array @decarray contain the decimal values corresponding to the hex values in @regarray, in which case the following may be the solution you are looking for:

for $refarray (@regarray) { print "$regarray = "; $reghex = hex($regarray); push(@decarray, $reghex); print "." . $reghex; }

Or, you could try the map function:

@decarry = map hex($_), @regarray;