in reply to passing anonymous empty array reference to subroutine

How about, within the function, if the parameter-value received is undef, replace it with an empty-array ref and proceed?
  • Comment on Re: passing anonymous empty array reference to subroutine