in reply to Onkeyup not working

If you were using strict, Perl would tell you where you go wrong. Add the following as the second line of your script:

use strict;

Don't use an interpolating string then. Use a single quoted string:

print <<'HTML';

You forgot to escape an @.

Also, consider using a proper template instead of inlining HTML into your code. See Template, Mojolicious::Lite or HTML::Template.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.