in reply to Re^4: STDIN typeglob
in thread STDIN typeglob
Is that a better constructor?
Looks like a much better interface to me ... erm, after you fix the syntax error, by changing:
to:if (!exists{'payload'}) {
if (!exists $vars{'payload'}) {
;-) ... with the caveat that I have zero experience in the CGI domain.
You should also add some new tests with dodgy payloads to verify they're being rejected with a useful error message.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: STDIN typeglob
by Bod (Parson) on Jun 18, 2023 at 17:13 UTC |