summaryrefslogtreecommitdiff
path: root/pod/perltodo.pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-12-04 12:47:44 +0000
committerNicholas Clark <nick@ccl4.org>2007-12-04 12:47:44 +0000
commit5a176cbce82d0ae2fd8e94d132259dfb733ef939 (patch)
tree21f2413d9303b3037ca277b67c936cf0089b2eb7 /pod/perltodo.pod
parentd6c1e11f74e0b1934c07d387ac61f44161f0b1d2 (diff)
downloadperl-5a176cbce82d0ae2fd8e94d132259dfb733ef939.tar.gz
Refactor test code to remove duplication is a TODO.
p4raw-id: //depot/perl@32565
Diffstat (limited to 'pod/perltodo.pod')
-rw-r--r--pod/perltodo.pod7
1 files changed, 7 insertions, 0 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod
index d3084784ad..c4559ae96f 100644
--- a/pod/perltodo.pod
+++ b/pod/perltodo.pod
@@ -22,6 +22,13 @@ programming languages offer you 1 line of immortality?
=head1 Tasks that only need Perl knowledge
+=head2 Remove duplication of test setup.
+
+Schwern notes, that there's duplication of code - lots and lots of tests have
+some variation on the big block of C<$Is_Foo> checks. We can safely put this
+into a file, change it to build an C<%Is> hash and require it. Maybe just put
+it into F<test.pl>. Throw in the handy tainting subroutines.
+
=head2 merge common code in installperl and installman
There are some common subroutines and a common C<BEGIN> block in F<installperl>