#!./perl
-# $RCSfile: dbm.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:43 $
-
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
-;# $RCSfile: importenv.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:24:02 $
-
;# This file, when interpreted, pulls the environment into normal variables.
;# Usage:
;# require 'importenv.pl';
-;# $RCSfile: stat.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:24:13 $
-
;# Usage:
;# require 'stat.pl';
;# @ary = stat(foo);
-;# $RCSfile: validate.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:24:19 $
-
;# The validate routine takes a single multiline string consisting of
;# lines containing a filename plus a file test to try on it. (The
;# file test may also be a 'cd', causing subsequent relative filenames
#!./perl
-# $RCSfile: cond.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:02 $
-
# make sure conditional operators work
print "1..4\n";
#!./perl
-# $RCSfile: if.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:03 $
-
print "1..2\n";
# first test to see if we can run the tests.
#!./perl
-# $RCSfile: pat.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:05 $
-
print "1..2\n";
# first test to see if we can run the tests.
#!./perl
-# $RCSfile: term.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:07 $
-
BEGIN {
chdir 't' if -d 't';
}
#!./perl
-# $RCSfile: elsif.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:08 $
-
sub foo {
if ($_[0] == 1) {
1;
#!./perl
-# $RCSfile: mod.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:11 $
-
print "1..13\n";
print "ok 1\n" if 1;
#!./perl
-# $RCSfile: subval.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:13 $
-
sub foo1 {
'true1';
if ($_[0]) { 'true2'; }
#!./perl
-# $RCSfile: switch.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:14 $
-
print "1..18\n";
sub foo1 {
#!./perl
-# $RCSfile: cmdopt.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:17 $
-
print "1..44\n";
# test the optimization of constants
#!./perl
-# $RCSfile: cpp.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:18 $
-
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
#!./perl
-# $RCSfile: decl.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:19 $
-
# check to see if subroutine declarations work everwhere
sub one {
$^I = $^O eq 'VMS' ? '_bak' : '.bak';
-# $RCSfile: inplace.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:29 $
-
print "1..2\n";
@ARGV = ('.a','.b','.c');
#!./perl
-# $RCSfile$
-
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
#!./perl
-# $RCSfile: tell.t,v $$Revision$$Date$
-
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
#!./perl
-# $RCSfile: append.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:36 $
-
print "1..13\n";
$a = 'ab' . 'c'; # compile time
#!./perl
-# $RCSfile: auto.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:39 $
-
print "1..37\n";
$x = 10000;
#!./perl
-# $RCSfile: cond.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:41 $
-
print "1..4\n";
print 1 ? "ok 1\n" : "not ok 1\n"; # compile time
#!./perl
-# $RCSfile: do.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:45 $
-
sub foo1
{
ok($_[0]);
#!./perl
-# $RCSfile: flip.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:52 $
-
chdir 't' if -d 't';
print "1..15\n";
#!./perl
# tests for "goto &sub"-ing into XSUBs
-# $RCSfile$$Revision$$Date$
-
# Note: This only tests things that should *work*. At some point, it may
# be worth while to write some failure tests for things that should
# *break* (such as calls with wrong number of args). For now, I'm
#!./perl
-# $RCSfile: my.t,v $
-
print "1..34\n";
sub foo {
#!./perl
-# $RCSfile: push.t,v $$Revision: 4.1 $$Date: 92/08/07 18:28:13 $
-
@tests = split(/\n/, <<EOF);
0 3, 0 1 2, 3 4 5 6 7
0 0 a b c, , a b c 0 1 2 3 4 5 6 7
#!./perl
-# $RCSfile: read.t,v $$Revision: 4.1 $$Date: 92/08/07 18:28:17 $
-
BEGIN {
chdir 't';
@INC = '../lib';
#!./perl
-# $RCSfile: time.t,v $$Revision: 4.1 $$Date: 92/08/07 18:28:32 $
-
if ( $does_gmtime = gmtime(time) ) {
print "1..7\n"
}
#!./perl
-# $RCSfile: unshift.t,v $$Revision: 4.1 $$Date: 92/08/07 18:28:35 $
-
print "1..2\n";
@a = (1,2,3);