File: 01-load.t

package info (click to toggle)
libterm-vt102-perl 0.91-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 268 kB
  • sloc: perl: 2,471; makefile: 13
file content (21 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/perl -w
#
# Make sure the VT102 module loads OK and can return its version number.
#
# Copyright (C) Andrew Wood
# NO WARRANTY - see COPYING.
#

BEGIN {
	print "1..1\n";
}

require Term::VT102;

my $vt = Term::VT102->new ('cols' => 80, 'rows' => 25);

print "Version: " . $vt->version () . "\n";

print "ok 1\n";

# EOF