Removing the @arguments array from a dump statement, because if any of the elements in the array are undef then a runtime warning is printed (undef elements is not always a bug).

This commit is contained in:
ian%hixie.ch 2001-11-09 16:58:38 +00:00
Родитель ac58840368
Коммит 2913cffeec
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -48,7 +48,7 @@ sub dispatch {
my $method = $self->can($name);
local $" = '\', \'';
if ($method) {
$self->dump(10, "Attempting to dispatch method: $self->$name('$app', '@arguments')");
$self->dump(10, "Attempting to dispatch method: $self->$name('$app', ...)"); # can't mention @arguments in string since it might contain undefs
&$method($self, $app, @arguments);
return 1;
} else {