in reply to Re: Arg passing trick that fails in perl 5.8
in thread Arg passing trick that fails in perl 5.8
There was no prototype. The sample code worked exactly as shown. I briefly considered using a prototype as a fix, but it wouldn't work. A reference prototype requires that you use a real "%" in the argument list and then converts that to a reference in the subroutine.
|
|---|