projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a7a40
)
Re: [perl #17061] no strict 'garbage'
author
Slaven Rezic
<slaven@rezic.de>
Thu, 10 Oct 2002 16:23:22 +0000
(18:23 +0200)
committer
hv
<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
patch
|
blob
|
history
diff --git
a/ext/Storable/Storable.pm
b/ext/Storable/Storable.pm
index
1a62e62
..
a380777
100644
(file)
--- a/
ext/Storable/Storable.pm
+++ b/
ext/Storable/Storable.pm
@@
-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 });