Re: TAP / recovery-test fs-level backups, psql enhancements etc
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: TAP / recovery-test fs-level backups, psql enhancements etc |
| Дата | |
| Msg-id | 20160302051831.GA405711@alvherre.pgsql обсуждение исходный текст |
| Ответы |
Re: TAP / recovery-test fs-level backups, psql enhancements etc
|
| Список | pgsql-hackers |
Tom Lane wrote:
> I wrote:
> > Can't use string ("Test::Builder") as a HASH ref while "strict refs" in use at /usr/share/perl5/Test/Builder.pm
line1798.
>
> > The referenced line number is the end of the file,
>
> Oh, scratch that; I was looking at the wrong file. Actually,
> /usr/share/perl5/Test/Builder.pm has
>
> sub details {
> my $self = shift;
> return @{ $self->{Test_Results} };
> }
>
> and line 1798 is the "return" statement in that. I still lack enough
> Perl-fu to decipher this, though.
I think it's complaining about being called as a class method. Perhaps
this would work:
+ foreach my $detail (Test::More->builder->details())
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера