Re: [perl #17061] no strict 'garbage'
authorSlaven Rezic <slaven@rezic.de>
Thu, 10 Oct 2002 16:23:22 +0000 (18:23 +0200)
committerhv <hv@crypt.org>
Thu, 17 Oct 2002 13:34:01 +0000 (13:34 +0000)
Message-ID: <87ptui5q5h.fsf@vran.herceg.de>

p4raw-id: //depot/perl@18024

ext/Storable/Storable.pm

index 1a62e62..a380777 100644 (file)
@@ -813,7 +813,7 @@ compartment:
        use strict;
        my $safe = new Safe;
         # because of opcodes used in "use strict":
-       $safe->permit(qw(:default require caller));
+       $safe->permit(qw(:default require));
        local $Storable::Deparse = 1;
        local $Storable::Eval = sub { $safe->reval($_[0]) };
        my $serialized = freeze(sub { 42 });