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.
In reply to Re: Re: Arg passing trick that fails in perl 5.8
by tall_man
in thread Arg passing trick that fails in perl 5.8
by tall_man
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |