File: 01basics.t

package info (click to toggle)
libinline-files-perl 0.71-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 232 kB
  • sloc: perl: 617; xml: 12; makefile: 7
file content (33 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
use lib qw(./blib/lib ../blib/lib);
use strict;
BEGIN { $| = 1; print "1..9\n"; }
use Inline::Files;
my $loaded = 1;
END {print "not ok 1\n" unless $loaded;}
print "ok 1\n";

print while <VIRTUAL>;

open SECOND_VIRTUAL
  and do { print for <SECOND_VIRTUAL>; 1 }
or print "not ok 8\n";


__VIRTUAL__
ok 2
ok 3
ok 4
__SECOND_VIRTUAL__
ok 8
ok 9
__VIRTUAL__
ok 5
ok 6
__OTHER__
not ok 666
__VIRTUAL__
__VIRTUAL__
ok 7
__SECOND_VIRTUAL__
not ok 10
not ok 11