Re: Mime::Parser Question

2003-08-08 Thread awards
Hi, thanks, well MIME is the MOST Difficult module I've seen so far, I didn't use much module tough :-). is there any site that has good codes explanation on how to use MIME::Parser. The problem I have is that I get the file into a folder called c:\\gotmail the mimeparser puts into this folder t

smtp problem

2003-08-10 Thread awards
27;text/html', Data => "$Message" ); $str = $msg->as_string; &die("Can't connect") unless $smtp = Net::SMTP->new($server); $smtp->mail($MailFrom); $smtp->to($MailTo); $smtp->data(); $smtp->datasend("$str"); $smtp->dataend(); $smtp->quit(); awards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Perl SMS

2003-08-11 Thread awards
Hi, I was reading on the internet someone wanted to do sms with perl and he couldn't But my question is simple, can you really send SMS free of charge to anywhere in the world. I've been looking everywhere could not find the answer. Award -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: compare date,time

2003-08-11 Thread awards
Hi, thank you, Now i have a new question. If I do the code myself which I can do. would the process of executing the program faster if I do the code myself or if I use a Module i.e Date::Calc?? regards awards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: smtp problem

2003-08-11 Thread awards
Hi, I think it authorizes Relay here is the output of my connection with the server **WILL HIDE IP AND SERVERNAME by ** I think i will use sendmail it might be better. Net::SMTP>>> Net::SMTP(2.26) Net::SMTP>>> Net::Cmd(2.24) Net::SMTP>>> Exporter(5.562) Net::SMTP>>> IO::Socket::INET(1.

Re: dbm on Install 5.8

2003-08-14 Thread awards
Hi, just do $dbm_file="file.db"; tile %dbm, $dbm_file. you don't need to worry about about the extension, well at least I was luck and did need to change anything. I just kept file.db and it works just fine awards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: mime::parser(again) download problem

2003-08-14 Thread awards
Hi, I still have not found the error but I think the program reads everything as Txt file, Because i send a .txt attachment it was perfectly read, but i send a zip and a gif and I was not able to read Awrds -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: Getting rid of returns

2003-08-14 Thread awards
Hi I do $string=~ s/\r//g; "Trina Espinoza" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Let me start of with a smaller question. . .. How do you get rid of returns? I known chomp gets rid of new lines, but I don't know how to get rid of returns. My code accepting data from the

Re: DBI.pm

2003-08-14 Thread awards
Hi, I had problem installing modules with windows one way and the best way I did for me is to install via a very little program I made in perl here is the code Three lines of code #!/usr/bin/perl use CPAN; shell(); after running the program you will have cpan> and type install DBI and wait. to f

decoding MIME::base64

2003-08-14 Thread awards
Hi, maybe i'm using the wrong module, but that is why i'm here asking. I have downloaded a message with an jpg attachment fine. But what i want to learn is that we have in the attachment the ugly code. So I'm on my windows system i have that code and want to change it back to a picture. here is wh

Re: smtp problem

2003-08-14 Thread awards
Hi, sorry but i don't understand much the term relaying, but i'm currently getting the ouptut of the connection, If that can help i can show it. thanx again Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

sending multiple email

2003-08-14 Thread awards
Hi, I'm having problem sending e-mail to many people i.e in the To section i have [EMAIL PROTECTED]; In the Cc section i have [EMAIL PROTECTED] ; [EMAIL PROTECTED] The problem I have is that it will not send the mail to [EMAIL PROTECTED] and [EMAIL PROTECTED] but if in the Cc I have only one e

Re: indexing flat files

2003-08-14 Thread awards
$c++; ($int, $othervalue)=split(/\|/,$line); $dbm{$c}= $line; push @tobegotoindex, "$int|$c\n"; } just an idea. That is what I used to do with Visual Basic. awards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mime::parser(again) download problem

2003-08-14 Thread awards
Hi, I figured the answer well someone on another forum told me. it was open(F,...) binmode(F); ** I thought files open were already in binmode.** But this is due to my lack of knowledge. Anthony "Awards" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] &

mime::parser(again) download problem

2003-08-14 Thread awards
e it i get 12321123-1233-aaa.jpg it is 16KB but I can not retrieve the pictures. any help is appreciated awards open(CURRMSG, "C:\\currmsg.txt") or die "Cannot open message: $!\n"; my $uniq=time().'-'.$$; $entity=$parser->parse(\*CURRMSG); close CURRMSG; my @parts=$e

Socket

2003-08-14 Thread awards
Hi, I would like to know if it is possible to transfer files from one computer to another using socket and Perl(obviously). And which module should I look at. Also is there any good site to teach socket?? Thank You. Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

compare date,time

2003-08-14 Thread awards
ve to program it? regards, Awards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: smtp problem

2003-08-14 Thread awards
Hi, to use net::smtp I can connect via pop?? If so can please tell me. Regards award -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mime::parser(again) download problem

2003-08-14 Thread awards
->read($buf,1024)) { ## i ALSO trid read($inputfile,$buf,1024) but does not work print F $buf; }##end of $bug WHILE }## END OF THE $PART WHILE "Stephen Gilbert" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -Original Messa

Is it a good idea-verifing incoming info

2003-08-17 Thread awards
Hi, I have many forms, and basically I just need to receive either a number or characters or both. this is how I check my ($value,%result,$name); foreach (param){ $name = $_; $name =~ s/\s$//;##take the space at the end $name =~ s/[^a-zA-Z0-9]//g;##all none character is change into n

Re: Is it a good idea-verifing incoming info

2003-08-17 Thread awards
uts a code then it won't have any effect at least I hope. And Thank you about this 'tr/a-zA-Z0-9//cd for @values' I whish I new it before. thanx Again Anthony "Jeff 'Japhy' Pinyan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Aug

need help decompose word

2003-08-18 Thread awards
Hi, I have no idea how to do this. I have a name Anthony Bob I want to put each letter in an array (no space) for(0..$numbersofletters){ @letters[c]= A LETTER } so when i do print @letters i get A N T H O N Y B O B something like that, any help is appreciated. Anthony -- To unsubscribe, e-mail

Re: need help decompose word

2003-08-18 Thread awards
Hi, That is quite simple. I tought it would be more difficult than that :-) Thank you both of you Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

paypal module

2003-08-19 Thread awards
Hi, I was curious if anyone have used Business-PayPal module ?? If so is it safe to use? I guess I have to use it under a secure connection? Anthony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Any Suggestions for Programmer Needing To Know Perl by Tomorrow?

2003-09-16 Thread awards
Hi, You mentionned CGI do you need to know perl for Web programming? If so I suggest two kind of books one to learn PERL and another to integrate perl in website. "Dan Anderson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > My local pointy haired boss decided I should learn Per

Re: here's an easy one

2003-09-21 Thread awards
Hi, so you want to get a file, with xx month in your program you have this print OUTFILE "http://basic.url/dir/file03,$month,$day,.ext,\n";; just don't put the commas. print OUTFILE "http://basic.url/dir/file03$month$day.ext,\n";; or if you want a more proper way or cleaner way you do $time = $mo