Skip to content

Commit

Permalink
Tidied version of Jeffrey Friedl's <jfriedl@yahoo.com> restricted hashes
Browse files Browse the repository at this point in the history
 - added delete of READONLY value inhibit & test for same
 - re-tabbed

p4raw-id: //depot/perlio@13760
  • Loading branch information
Nick Ing-Simmons committed Dec 18, 2001
1 parent 7b5d8bb commit 8aacddc
Show file tree
Hide file tree
Showing 6 changed files with 243 additions and 91 deletions.
5 changes: 3 additions & 2 deletions ext/Devel/Peek/Peek.t
Expand Up @@ -27,6 +27,7 @@ sub do_test {
if (open(IN, "peek$$")) {
local $/;
$pattern =~ s/\$ADDR/0x[[:xdigit:]]+/g;
$pattern =~ s/\$FLOAT/(?:\\d*\\.\\d+(?:e[-+]\\d+)?|\\d+)/g;
print $pattern, "\n" if $DEBUG;
my $dump = <IN>;
print $dump, "\n" if $DEBUG;
Expand Down Expand Up @@ -187,7 +188,7 @@ do_test(12,
REFCNT = 2
FLAGS = \\(SHAREKEYS\\)
IV = 1
NV = 0
NV = $FLOAT
ARRAY = $ADDR \\(0:7, 1:1\\)
hash quality = 100.0%
KEYS = 1
Expand Down Expand Up @@ -348,7 +349,7 @@ do_test(19,
REFCNT = 2
FLAGS = \\(SHAREKEYS\\)
IV = 1
NV = 0
NV = $FLOAT
ARRAY = $ADDR \\(0:7, 1:1\\)
hash quality = 100.0%
KEYS = 1
Expand Down

0 comments on commit 8aacddc

Please sign in to comment.