"can't call method "name" on an undefined value at .."
Bonjour,
je ne connais rien de Perl et je me retrouve face à un probleme.
Je cherche à utiliser un script ecrit par la communauté bugzilla (email_in.pl).
Ce script a besoin d'un fichier d'entree comme argument qui soit de type email.
Bugzilla presente l'utilisation de ce script sur cette page ([URL="http://www.bugzilla.org/docs/3.0/html/api/email_in.html"])
Or quand j'utilise le fichier d'entree suivant:
Code:
1 2 3 4 5 6 7 8
|
From: sylvie Dupont <sylvie.dupont@domain.com>
To: Bugzilla administrator <bugzilla.admin@domain.com>
Subject: [Bug 2]
@bug_id = 2
test email |
Le script me retourne l'erreur suivante:
Code:
can't call method "name" on an undefined value at C:/Perl/site/lib/Email/Reply.pm line 49
:(
-----------------------------------------
J'ai trouvé la solution:
Sous windows la commande s'ecrit:
Code:
perl email_in.pl -vvv < email.txt
et non
Code:
email_in.pl [-vvv] < email.txt