blob: 1884763dfbd4dafcf178012e03515b262e5bbf87 [file] [log] [blame]
#!perl
my $r = shift;
$r->send_http_header("text/plain");
my $err = $@{$r->prev->uri};
my $note = $r->prev->notes('error-notes') || 'NONE';
print "ServerError: $err\n";
if ($note eq $err) {
print "error-notes is also set";
}
else {
print "error-notes is different: $note";
}
print "\n";
print 'dump of %@:', "\n";
print map { "$_ = $@{$_}\n" } keys %{'@'};