projects
/
dh-make-perl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the original source packages to maemo, source lenny
[dh-make-perl]
/
dev
/
i386
/
libtest-harness-perl
/
libtest-harness-perl-3.12
/
t
/
lib
/
MyCustom.pm
diff --git a/dev/i386/libtest-harness-perl/libtest-harness-perl-3.12/t/lib/MyCustom.pm
b/dev/i386/libtest-harness-perl/libtest-harness-perl-3.12/t/lib/MyCustom.pm
new file mode 100644
(file)
index 0000000..
2402312
--- /dev/null
+++ b/
dev/i386/libtest-harness-perl/libtest-harness-perl-3.12/t/lib/MyCustom.pm
@@ -0,0
+1,12
@@
+# avoid cut-n-paste exhaustion with this mixin
+
+package MyCustom;
+use strict;
+
+sub custom {
+ my $self = shift;
+ $main::CUSTOM{ ref($self) }++;
+ return $self;
+}
+
+1;