git.shiar.nl
/
perl
/
plp
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t: move i/o testing routines to Test::PLP module
[perl/plp/.git]
/
eg
/
plpinfo.plp
diff --git
a/eg/plpinfo.plp
b/eg/plpinfo.plp
index 9b3b704f204abd927f2d6ec87516ff2a3b6f4c16..f25dc767f7b79a1f4688526dd4fbafcb487af6e1 100644
(file)
--- a/
eg/plpinfo.plp
+++ b/
eg/plpinfo.plp
@@
-66,7
+66,7
@@
printf("<tr><th>%s</th><td>%s</td></tr>\n",
<table border="1">
<:
-for my $var
qw(get post cookies header
) {
+for my $var
(qw[ get post cookies header ]
) {
printf("<tr><th>%s{'%s'}</th><td>%s</td></tr>\n",
$var, $_, defined $$var{$_} ? $$var{$_} : "<i>no value</i>"
) for sort keys %$var;