try to get the value of the fields

2004-04-12 Thread deny
hello i use this command to get the values the fields of my form while (($nom, $valeur) = each(%champs)) { print "$nom = $valeur"; but i want to have the value of a particular field in the array how can i proceed ? thanks for help -- To unsubscribe, e-mail: [EMAIL PROTEC

Re: sendmail +perl

2004-04-16 Thread deny
good afternoon i use sendmail to send mail with a script perl i receive this mail in /var/spool/clientmqueue but not in my mailbox mozilla here is the line in the script perl open(MAIL, "|/usr/sbin/sendmail [EMAIL PROTECTED]"); sendmail is launched [EMAIL PROTECTED] clientmqueue]# ps -aux | grep s

perl +sendmail

2004-04-16 Thread deny
piping to a program is very unreliable. for instance - what flags are necessary with the version of sendmail? dont know i use sendmail-8.12.9-7mdk - Is sendmail sendmail or a symlink to the server's real Mail Server ? its my server lrwxrwxrwx1 root root 21 avr 13 14:37 se

Re: perl +sendmail

2004-04-17 Thread deny
The point he was making is that if you call sendmail directly you have to make these tests everytime you want to use the script on a new machine. (And, for the purposes of these tests, an upgrade means a new machine.) There are modules that will handle sending a message via SMTP, make sure it

Re: perl +sendmail

2004-04-20 Thread deny
If sendmail is too complex to install/operate maybe you should try http://www.postfix.org/ f ok i am installing postfix and all works fine in my script to sending data just a problem i want to receive my mail from my domain-name what pop soft easy to configure can i use ? thanks -- To uns

file to join

2004-04-29 Thread deny
good evening i want to add a file in a mail i send to someone for example , i wwant to add the file "inscription.txt" to a mail here is the first line to send a mail open(MAIL, "|mail [EMAIL PROTECTED]"); print MAIL "Reply-To: $champs[1]\n"; print MAIL "sujet: Soumission du formulaire monaco tel

Re: file to join

2004-04-30 Thread deny
Jenda Krynicky a écrit : From: deny <[EMAIL PROTECTED]> Subject:file to join "attach", not "join" :-) ok sorry for my bad english You would have to print all the mail and part headers and encode the file. It's easier and safer to leave this

Re: file to join

2004-05-01 Thread deny
J You just created the message, you did not send it. Add $msg->send; right thanks you ,the text of the message is send ,but not as a attached file only with the text in the body of the mail i may send a message with a file attached thanks -- To unsubscribe, e-mail: [EMAIL PROT

problem printf

2004-10-24 Thread deny
hello i ve found a perl script to calculate the sum of the permissions my principal files the line which is writing in my file is foreach $name ( sort @files) { ($uid,$gid) = (stat $nane)[4,5]; ici la ligne $stat = sprintf "%Oo", (stat_)[2];// and whe

Re: problem printf

2004-10-25 Thread deny
That isn't only perl code, it's incomplete, and it doesn't use 'printf'. Show us more code and explain your problem fully. thanks for your help here is the complete code #!/usr/bin/perl use MD5; require 'find.pl'; $md5 = new MD5; @dirs = @ARGV; foreach $dir ( @dirs ) { find($dir); } sub

Re: problem printf

2004-10-25 Thread deny
Owen a écrit : On Mon, 25 Oct 2004 05:17 pm, deny wrote: foreach $name ( sort @files) { ($uid,$gid) = (stat $nane)[4,5]; stat $nane or $name? $name , error for me ,the result is the same if someone want the script for test -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: problem printf

2004-10-25 Thread deny
Try to add this lines somewhere the top of the file: use strict; use warnings; and report the errors, if any. Global symbol "$md5" requires explicit package name at ./checksum.pl line 11. Global symbol "@dirs" requires explicit package name at ./checksum.pl line 12. Global symbol "$dir" requires

Re: problem printf

2004-10-26 Thread deny
Jenda P.S.: What the heck is find.pl? You should be using File::Find! thanks for your help -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

perl-shared/

2005-02-15 Thread deny
good afternoon all i ve a problem when i try compiling rddtool make[3]: Entering directory `/usr/local/rrdtool-1.0.49/perl-shared' make[3]: *** Pas de règle pour fabriquer la cible « /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/EXTERN.h », nécessaire pour « RRDs.o ». Arrêt. a have perl, v5