in reply to dereference the array ref
in thread Stumped on an array ref error...

For the record, this is not correct. An arrayref can be used where an array name would otherwise appear, and thus Madams syntax is correct.