in reply to Re^4: Problems with grep
in thread Problems with grep

that list is not restricted to be a list of scalars

Yes it is, as all lists are. You can't have a list of anything but scalars. In your example, grep returned two scalars, both of which are references.