in reply to Ternary operator can't be used as first argument of push

This is easy - your first arg is an array dereference and its contents is a array ref.
  • Comment on Re: Trinary operator can't be used as first argument of push