How to pass an array in verilog funcion

In reply to Srini @ CVCblr.com:

Also, no need to use ref unless you plan on modifying the array and the array is very large. Use input, output, or inout.