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.
In reply to Re^5: STDIN typeglob
by eyepopslikeamosquito
in thread STDIN typeglob
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |