#!./perl
# $RCSfile: decl.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:19 $
# check to see if subroutine declarations work everwhere
print "ok 1\n";
}
ok 5
.
print "1..7\n";
do one();
do two();
print "ok 2\n";
}
@<<<
.
if ($x eq $x) {
sub three {
print "ok 3\n";
}
}
do four();
$~ = 'one';
$~ = 'two';
$foo = "ok 6";
$~ = 'three';
ok 7
.
print "ok 4\n";
}