Permalink
Browse files

add missing files to simple-tests

  • Loading branch information...
1 parent 4aa53ab commit 7cc8c06a03bcacfc2e1bd3fd094b20608549526d @pmurias pmurias committed Mar 6, 2011
Showing with 13 additions and 0 deletions.
  1. +5 −0 simple-tests/infix.t
  2. +8 −0 simple-tests/parcel-arg.t
View
5 simple-tests/infix.t
@@ -0,0 +1,5 @@
+say "1..1";
+sub infix:<=>($, $say) { say $say }
+my $foo;
+$foo = "ok 1";
+
View
8 simple-tests/parcel-arg.t
@@ -0,0 +1,8 @@
+say "1..2";
+sub foo(\$arg) {
+ say $arg;
+ $arg = "ok 2";
+}
+my $ok = "ok 1";
+foo($ok);
+say $ok;

0 comments on commit 7cc8c06

Please sign in to comment.