Bonjour,

Une personne m'a fait un script en perl car je ne m'y connais pas dans ce langage...Le probleme c'est que je n'ai pas réussi à l'executer...

Les droits de permission sont 755 (j'avais aussi tenté en 777 mais cela n'a rien changé...)

J'ai le message suivant:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

J'ai vu:

More information about this error may be available in the server error log.
Apres verification dans le log apache, j'ai:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
[Sun Jun 29 14:01:03 2008] [error] [client 71.72.45.xxx] Scalar value
@threads[$t] better written as $threads[$t] at hosts.pl line 59.
[Sun Jun 29 14:01:03 2008] [error] [client 71.72.45.xxx] Scalar value
@threads[$t] better written as $threads[$t] at hosts.pl line 60.
[Sun Jun 29 14:01:03 2008] [error] [client 71.72.45.xxx] Scalar value
@threads[$t] better written as $threads[$t] at hosts.pl line 70.
[Sun Jun 29 14:01:03 2008] [error] [client 71.72.45.xxx] Scalar value
@threads[$t] better written as $threads[$t] at hosts.pl line 71.
[Sun Jun 29 14:01:03 2008] [error] [client 71.72.45.xxx] Scalar value
@threads[$t] better written as $threads[$t] at hosts.pl line 72.
[Sun Jun 29 14:01:03 2008] [error] [client 71.72.45.xxx] "my"
variable @threads masks earlier declaration in same scope at hosts.pl line 80.
[Sun Jun 29 14:01:03 2008] [error] [client 71.72.45.xxx] Scalar value @row[1]
better written as $row[1] at hosts.pl line 84.
[Sun Jun 29 14:01:03 2008] [error] [client 71.72.45.xxx] Scalar value @row[1]
better written as $row[1] at hosts.pl line 86.
[Sun Jun 29 14:01:04 2008] [error] [client 71.72.45.xxx] Use of uninitialized
value in pattern match (m//) at hosts.pl line 45.
[Sun Jun 29 14:01:04 2008] [error] [client 71.72.45.xxx] Use of uninitialized
value in pattern match (m//) at hosts.pl line 45.
[Sun Jun 29 14:01:04 2008] [error] [client 71.72.45.xxx] Use of uninitialized
value in pattern match (m//) at hosts.pl line 45.