Yes. It does all the steps:
In reply to Re: XSUB: pass scalar by reference and assign value by ikegami in thread XSUB: pass scalar by reference and assign value by OlegG