in reply to Why isn't the obvious dereferencing of the array working?
my @temps= [1,2,3]; [download]
to:
my @temps= (1,2,3); [download]