in reply to passing array ref without variable

Yes, just try it