in reply to Re: uninitialized value
in thread uninitialized value

Most probably because the HTML calling the CGI has no btn ...

Don't ask me if this is good design or if this OP even cares. 🤷🏻‍♂️

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery