in reply to how to print value at reference?
If it's
print "@array\n"; [download]
for an array, it's
print "@{$ref}\n"; [download]
or simply
print "@$ref\n"; [download]
for an array ref.