Subject: | No error checking |
Hello, I see that you are not performing any checks on whether or not
get() fails. This leads to warnings printed about regexes on
uninitialized values, becaus get() returns undef() on failure. Perhaps
add unless ( defined $uri ) { $_[0]->{error} = 1; return; } and reset
that error flag to there on sub entry (to prevent subsequent requests
looking like failures).
Thanks.