in reply to Re: Variable behaving as a function call
in thread Variable behaving as a function call

You need to replace @_ with $_[0] because the argument is evaluated in scalar context.