in reply to unsure how to use variable
$holding1="green"; $holding2="blue"; $holding3="yellow"; for ($count = 3; $count >= 1; $count--) { $tempvar=${"holding" . $count}; print "$tempvar<br>"; #this prints holding1 instead of green } [download]