diff options
author | 2013-03-25 20:06:16 +0000 | |
---|---|---|
committer | 2013-03-25 20:06:16 +0000 | |
commit | 898184e3e61f9129feb5978fad5a8c6865f00b92 (patch) | |
tree | 56f32aefc1eed60b534611007c7856f82697a205 /gnu/usr.bin/perl/lib/perl5db/t/with-subroutine | |
parent | PGSHIFT -> PAGE_SHIFT (diff) | |
download | wireguard-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-subroutine | 17 |
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"; +} + |