ok
danke für die hilfe es geht jetzt
aber ich muss FindBin benutzen und ein FindBin->again(); machen
wens intressiert:
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
#!/usr/bin/perl -w
use strict;
BEGIN {
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
warningsToBrowser(1);
}
use FindBin qw($Bin);
FindBin->again();
print "Content-type: text/html\n\n";
print <<HTML;
<html>
<head>
<title>Home</title>
<link rel="StyleSheet" type="text/css" href="../style.css">
</head>
<body>
HTML
do "$Bin/time.cgi";
# htmlcode
do "$Bin/menu.cgi";
print <<HTML;
# htmlcode
</body>
</html>
HTML