in reply to Re: Passing Empty/ Undefined values to a subroutine
in thread Passing Empty/ Undefined values to a subroutine

Update: oops responded to the wrong thing. sorry abvout that.

Post code that runs and produces the results you see.

Replacing the non-runnable

....... and so on

with

print "$arg1,$arg2,$arg3\n";

produces output of:
$VAR1 = [ 'arg1', '', 'arg2', '', '', 'arg3' ]; arg1,arg2,arg3


which is the expected reesult. So what are you actuallydoing which doesn't work as expected?

--Bob Niederman, http://bob-n.com