in reply to Directly Dereferencing an Array Reference to an Array

In a word: precedence. Perl is actually looking for a scalar called $selects, you need a touch of the old curlies:
@workdts = @{$selects[0]}
to force precedence your way.
  • Comment on Re: Directly Dereferencing an Array Reference to an Array