Re: BBC(Bleadperl Breaks CPAN) Today: PerlPoint::Parser (0.451) On Tue, Oct 09, 2007 at 10:44:32AM +0200, Rafael Garcia-Suarez wrote:
} On 08/10/2007, Andreas J. Koenig
}  wrote:
} > Thanks, Jochen, for bringing another BBC case to my attention.
} >
} > Your collection of modules JSTENZEL/PerlPoint-Package-0.451.tar.gz
} > works with bleadperl up to 31081 and starts failing with 31082.
} >
} >     (http://public.activestate.com/cgi-bin/perlbrowse/p/26487)
} >     Change 31082 by kdy@stcosmo on 2007/04/26 10:51:36
} >
} >         Subject: Re: The Strict trap
} >         From: Johan Vromans 
} >         Date: Wed, 25 Apr 2007 16:12:58 +0200
} >         Message-ID: 
} >
} > which leads to a test failure:
} >
} >     t/l0_ifilters.........[Error 1] Could not load lang import filter module: 'caller' trapped by operation mask at /home/src/perl/repoperls/installed-perls/perl/pLm6hV6/perl-5.8.0@32034/lib/5.10.0/strict.pm line 8,  line 3.
} 
} Since strict.pm now uses caller(), your Safe compartment now needs to
} allow caller() in addition to require().

Isn't the idea that caller() was also demoted from a "safe" to "we're
not sure about this" kind of operation? The new caller does some
direct peeking inside the optree and maybe it shouldn't be considered
safe.

-- 
Josh
