in reply to
Parameter passing
You didn't dereferece your references. Change the code to:
($$fn_x, $$fn_y) = ('x', 'y');
[download]
That should fix your problem.
Comment on
Re: Parameter passing
Download
Code
In Section
Seekers of Perl Wisdom