File: eval_stderr.t

package info (click to toggle)
libtest-base-perl 0.54-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 620 kB
  • ctags: 174
  • sloc: perl: 1,718; makefile: 15
file content (14 lines) | stat: -rw-r--r-- 208 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_stderr
warn "You are a foo!\n";
my $foo = 2;
print STDERR "You are 1 $foo.\n";
return 42;