I'm guessing you're trying to do that within a double-quoted string. And a double-quoted string doesn't support method calls like that. Thus, you're getting the C<$INPUT> CGI object interpolated, followed by the literal string beginning with the method arrow.