On 8/16/07, Burak Gürsoy <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a module named Text::Template::Simple ( 
> http://search.cpan.org/dist/Text-Template-Simple/ ) and one of it's tests 
> (t/05-safe) is dying under 5.9.5:
>
> http://www.nntp.perl.org/group/perl.cpan.testers/2007/08/msg576957.html
> http://www.nntp.perl.org/group/perl.cpan.testers/2007/07/msg546071.html
> http://www.nntp.perl.org/group/perl.cpan.testers/2007/05/msg499523.html
>
> my default permit list is like this:
>
>    my @permit = qw(:default require);
>
> everything is fine under $] < 5.9.x but it dies with this error under blead:
>
>    'caller' trapped by operation mask
>
> I couldn't locate an entry for this change in the 5.9.5 change log. Can 
> someone give me info on this subject? Or shall I just add caller (and 
> anything it requires) to my permit list?

caller() is a less-safe kind of operation because it now returns a
hash ref of the current lexical pragmas. I don't recall why this new
behavior warranted its removal from the default list of "safe"
opcodes.

Josh

Reply via email to