in reply to Re: passing argument to sub wanted
in thread passing argument to sub wanted

\&wanted($size_input) doesn't work at all. It calls wanted then and there, and returns a reference to the result returned by wanted.