In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/55108fc8754e2bc60bfcce2f4c6389f06cbe6f53?hp=b8db74f2e886c63d3cd1c65e2fde6d09c0b3e436>

- Log -----------------------------------------------------------------
commit 55108fc8754e2bc60bfcce2f4c6389f06cbe6f53
Author: Father Chrysostomos <[email protected]>
Date:   Fri Jun 10 10:54:20 2011 -0700

    Suppress proto warning from attrs.t
    
    attributes::get was being called before attributes.pm was loaded.
    Why this did not warn before I know not. Maybe that’s another bug....
-----------------------------------------------------------------------

Summary of changes:
 t/op/attrs.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/op/attrs.t b/t/op/attrs.t
index f237e53..c0225c7 100644
--- a/t/op/attrs.t
+++ b/t/op/attrs.t
@@ -194,7 +194,7 @@ foreach my $value (\&foo, \$scalar, \@array, \%hash) {
 sub PVBM () { 'foo' }
 { my $dummy = index 'foo', PVBM }
 
-ok !defined(attributes::get(\PVBM)), 
+ok !defined(eval 'attributes::get(\PVBM)'), 
     'PVBMs don\'t segfault attributes::get';
 
 {

--
Perl5 Master Repository

Reply via email to