summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/lib/perl5db/t/with-subroutine
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2013-03-25 20:06:16 +0000
committersthen <sthen@openbsd.org>2013-03-25 20:06:16 +0000
commit898184e3e61f9129feb5978fad5a8c6865f00b92 (patch)
tree56f32aefc1eed60b534611007c7856f82697a205 /gnu/usr.bin/perl/lib/perl5db/t/with-subroutine
parentPGSHIFT -> PAGE_SHIFT (diff)
downloadwireguard-openbsd-898184e3e61f9129feb5978fad5a8c6865f00b92.tar.xz
wireguard-openbsd-898184e3e61f9129feb5978fad5a8c6865f00b92.zip
import perl 5.16.3 from CPAN - worked on by Andrew Fresh and myself
Diffstat (limited to 'gnu/usr.bin/perl/lib/perl5db/t/with-subroutine')
-rw-r--r--gnu/usr.bin/perl/lib/perl5db/t/with-subroutine17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/lib/perl5db/t/with-subroutine b/gnu/usr.bin/perl/lib/perl5db/t/with-subroutine
new file mode 100644
index 00000000000..b1d70fe8bb3
--- /dev/null
+++ b/gnu/usr.bin/perl/lib/perl5db/t/with-subroutine
@@ -0,0 +1,17 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+my $x = 'hello world';
+
+print "$x\n";
+
+back();
+
+exit;
+
+sub back {
+ print "hello back\n";
+}
+