From any subroutine what is the best and efficient way to return value ?
If I want to return hash or array, should I return ref of variable or just hash or array.
Till now I always used to return Ref, just want to know is this the efficient and best way to return value from function.