projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3dd03f9
)
Re: [PATCH] honoring void context for map(), return from sub end test
david nicol [Mon, 8 Sep 2003 23:39:32 +0000 (18:39 -0500)]
Message-Id: <
1063082372
.1375.126.camel@plaza.davidnicol.com>
(a testcase)
p4raw-id: //depot/perl@21131
t/op/grep.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/grep.t
b/t/op/grep.t
index
6e60813
..
5f4e7a6
100755
(executable)
--- a/
t/op/grep.t
+++ b/
t/op/grep.t
@@
-135,3
+135,11
@@
sub ok {
$test++;
}
+{
+ sub add_an_x(@){
+ map {"${_}x"} @_;
+ };
+ ok join("-",add_an_x(1,2,3,4)), "1x-2x-3x-4x";
+}
+
+