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