foo([]); [download]
See References for details.
In reply to Re: passing anonymous empty array reference to subroutine by choroba in thread passing anonymous empty array reference to subroutine by Special_K