File: eval_stdout.t

package info (click to toggle)
libtest-base-perl 0.79-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 664 kB
  • ctags: 108
  • sloc: perl: 952; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use Test::Base tests => 1;

is next_block->perl, <<'...';
You are a foo!
You are 1 2.
...

__DATA__
===
--- perl eval_stdout
print "You are a foo!\n";
my $foo = 2;
print "You are 1 $foo.\n";
return 42;