Re: win32 mail
do you have send mail or a mail server installed on your local machine? From: Arran === It is obvious: The only program that parses Perl is perl, and to really be Perl you also have to be perl. The easiest way to turn Perl code into an executable is to embed the perl interpreter! song: If you are sexy and you know it clap your hands Me: im going to go have to sit this one out... If builders built buildings the way programmers wrote programs, then the first woodpecker to come along would destroy civilization. We are the out casts of society, but when they relise its the out casts that create society, we will fall. Everything I know about thermal expansion I learnt from Neon Genesis Evangelion! And there's always those days where you start sending out emails with semicolons at the end of the sentences. Yesterday I even caught myself writing code on a piece of napkin on my lunch. I'm afraid the day will finally come where I start trying to rearrange all of my paragraphs into a single sentence. I mean sure, noone will know what the hell - Original Message - From: Eric Wang [EMAIL PROTECTED] To: Timothy Johnson [EMAIL PROTECTED] Cc: 'Tim Musson ' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, May 22, 2002 8:01 AM Subject: RE: win32 mail I tried sendmail and it says connect to localhost failed. Help please Eric On Tue, 21 May 2002, Timothy Johnson wrote: You can also use Mail::Sendmail or Mail::Sender to send emails from a perl script. Both should be on CPAN. -Original Message- From: Tim Musson To: [EMAIL PROTECTED] Sent: 5/21/02 4:31 AM Subject: Re: win32 mail Hey Arran4, nope, no send mail client in the default install of Win. I usually use something I grabbed from TPJ Net::SMTP code use Net::SMTP; my($mh, $MailTo, $Subject, $MessageBody); #don't forget to set each of the above! sub sendMail { my $smtp = Net::SMTP-new($mh); $smtp-mail($MailTo); # envelope bits $smtp-to($MailTo); # envelope bits $smtp-data(); # Now for the message itself $smtp-datasend(From: $MailTo\n); $smtp-datasend(To: $MailTo\n); $smtp-datasend($Subject\n\n); $smtp-datasend($MessageBody); $smtp-dataend(); # end the message $smtp-quit; } /Net::SMTP code My MUA believes you used Microsoft Outlook Express 6.00.2600. to write the following on Tuesday, May 21, 2002 at 2:57:43 AM. A isnt there are windows send mail client? Anyone know how to fire off an email on a windows box from a perl script? No guarantee that the machine the script executes on would have an outlook/isapi client installed.. -- [EMAIL PROTECTED] MUA = TB! v1.60k (www.RitLabs.com/The_Bat) Windows 2000 5.0.2195 (Service Pack 2) The days of the digital watch are numbered. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: win32 mail
isnt there are windows send mail client? From: Arran === It is obvious: The only program that parses Perl is perl, and to really be Perl you also have to be perl. The easiest way to turn Perl code into an executable is to embed the perl interpreter! song: If you are sexy and you know it clap your hands Me: im going to go have to sit this one out... If builders built buildings the way programmers wrote programs, then the first woodpecker to come along would destroy civilization. We are the out casts of society, but when they relise its the out casts that create society, we will fall. Everything I know about thermal expansion I learnt from Neon Genesis Evangelion! And there's always those days where you start sending out emails with semicolons at the end of the sentences. Yesterday I even caught myself writing code on a piece of napkin on my lunch. I'm afraid the day will finally come where I start trying to rearrange all of my paragraphs into a single sentence. I mean sure, noone will know what the hell - Original Message - From: HENRY,MARK (HP-Roseville,ex1) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: HENRY,MARK (HP-Roseville,ex1) [EMAIL PROTECTED] Sent: Monday, May 20, 2002 1:17 PM Subject: win32 mail Hi All, Anyone know how to fire off an email on a windows box from a perl script? No guarantee that the machine the script executes on would have an outlook/isapi client installed.. Many thanks, Mark -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Books
I actually learnt perl off this list, just by looking at the examples i know im no where near good but i can eventualy make what i want lol :) From: Arran === It is obvious: The only program that parses Perl is perl, and to really be Perl you also have to be perl. The easiest way to turn Perl code into an executable is to embed the perl interpreter! song: If you are sexy and you know it clap your hands Me: im going to go have to sit this one out... If builders built buildings the way programmers wrote programs, then the first woodpecker to come along would destroy civilization. We are the out casts of society, but when they relise its the out casts that create society, we will fall. Everything I know about thermal expansion I learnt from Neon Genesis Evangelion! - Original Message - From: Bob [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 15, 2002 6:58 AM Subject: Books Hi everyone I have been reading Learning Perl Second Edition and Programming Perl 2nd Edition. Has Perl evolved that much since these books were written in 1997 and 98. Some of the things mentioned on this list I have never seen in Learning Perl SE at least, haven't got into the other too much. I ordered the newest Learning Perl just in case. -- Bye Bob Bob Axmear 208 2nd St Ne Waukon, Ia 52172 http://groups.yahoo.com/group/the_refuge Websites http://gardensights.com Hosta Library http://hostalibrary.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://1cis.com Free E-mail Servers with unlimited mailboxes 1st Class Internet Solutions -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Same help 2
Your probly looking for a more introduction to programming book From: Arran === It is obvious: The only program that parses Perl is perl, and to really be Perl you also have to be perl. The easiest way to turn Perl code into an executable is to embed the perl interpreter! song: If you are sexy and you know it clap your hands Me: im going to go have to sit this one out... If builders built buildings the way programmers wrote programs, then the first woodpecker to come along would destroy civilization. We are the out casts of society, but when they relise its the out casts that create society, we will fall. Everything I know about thermal expansion I learnt from Neon Genesis Evangelion! - Original Message - From: Barbara Manfredini [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, May 16, 2002 1:15 AM Subject: RE: Same help 2 You're perfect!You answered me in a few minutes,fantastic.But there's a problemme.I tried to use those script but nothing.I need to ask you some more.Can you be more precise or do somethind simplier for a really beginner in perl?Sorry for the time you loose for me.Bye From: Shishir K. Singh [EMAIL PROTECTED] To: Barbara Manfredini [EMAIL PROTECTED],[EMAIL PROTECTED] Subject: RE: Same help 2 Date: Wed, 15 May 2002 10:47:40 -0400 -Original Message- From: Barbara Manfredini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 10:20 AM To: [EMAIL PROTECTED] Subject: Same help 2 I don't know if my mail arrived because I did not subscribe.Now I've sent a mail to [EMAIL PROTECTED] and I hope I'm ok. My simple questions were: How can I cut from a file a line where I match a word? - If I have a file with many lines,I want to cut the lines where the word example(or a pattern matching) is contained. ex. this is an example for you become this is for you And how can I cut just the word matched? ex. this is an for you TRY THIS FOR THE ABOVE REQ open (INP, $fileName); while (INP) { chomp; if (/example/) { s/example//g; push (@ex2,$_); } else { push (@ex1,$_); push (@ex2,$_); } } foreach (@ex1) { print $_,\n; } print \n\n; foreach (@ex2) { print $_,\n; } I need to extract from a file what is after @(to know dominion names) and to take every name one time(I think to put it in a hash but I don't know how) ex2. [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] gives me hotmail.com #just one time aol.com yahoo.com example.com I hope to explain it better now.Thanks for your help.Bye FOR THE ABOVE, assuming that only one address is present in one line, try this open (INP,$fileName]); while (INP) { chomp; /(.*?)\@(.*)/; if ($2) { $address{$2} = (); } } foreach (sort (keys %address)) { print $_,\n; } Hope it meets your requirements !! _ Scarica GRATUITAMENTE MSN Explorer dall'indirizzo http://explorer.msn.it/intl.asp. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Conversa in chat con gli amici in linea, prova MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://1cis.com Free E-mail Servers with unlimited mailboxes 1st Class Internet Solutions -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: stop the Madness
heh thats has already been added to my ever growing signuture hehehe (should shorten it sometimes) From: Arran === It is obvious: The only program that parses Perl is perl, and to really be Perl you also have to be perl. The easiest way to turn Perl code into an executable is to embed the perl interpreter! song: If you are sexy and you know it clap your hands Me: im going to go have to sit this one out... If builders built buildings the way programmers wrote programs, then the first woodpecker to come along would destroy civilization. We are the out casts of society, but when they relise its the out casts that create society, we will fall. Everything I know about thermal expansion I learnt from Neon Genesis Evangelion! And there's always those days where you start sending out emails with semicolons at the end of the sentences. Yesterday I even caught myself writing code on a piece of napkin on my lunch. I'm afraid the day will finally come where I start trying to rearrange all of my paragraphs into a single sentence. I mean sure, noone will know what the hell - Original Message - From: Timothy Johnson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 17, 2002 3:44 AM Subject: RE: stop the Madness And there's always those days where you start sending out emails with semicolons at the end of the sentences. Yesterday I even caught myself writing code on a piece of napkin on my lunch. I'm afraid the day will finally come where I start trying to rearrange all of my paragraphs into a single sentence. I mean sure, noone will know what the hell I'm talking about, but look how efficient my speech has become! HELP ME!!! -Original Message- From: A Taylor [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 9:36 AM To: [EMAIL PROTECTED] Subject: Re: stop the Madness SO TRUE ! GLAD I AM NOT ALONE !!! HA HA I feel morally compelled to point out to any of the real Newbies who are on the beginner's mailing list that this READS like the usual form of 'deep denial' that needs to come out in the light of day. Oh sure - today its a little text file manipulation, a bit of CGI work with webFoo, a little DBI interface, whack a GUI front end onto some dog piece of software, you can Kick the Habit Any Time You Want. Or at least that is what you tell your friends. It's really only a small piece of bridge code, and you can just make a little perl module to simplify the interface between the various common applications, nothing serious... Oh but if I just subclass FOO::BAR that you found at [TheCPAN|SourceForge|someCoolWebSite|ThisGuyYouMetInSomeDarkBackAlley] then of course I can adapt it to fix this other bit... I merely wanted to have some better monitoring code for our system wide solution - and I merely downloaded from http://www.kernel.org/software/mon/ and all I have to do is just rework a few bits here and there. I mean that way I can monitor the systems more efficiently so that I can spend more time coding this cool little extension to this perl module But if I adopt the p5ee standards, then I have a common technology that will interoperate between my webFront End and my Database Services on Legacy Architectures, including those older OS's where java has not been ported to yet... People REALLY NEED to be forewarned about the dangers! Do you find yourself seeking work where perl is readily available? Do you find yourself spending more of your time with other people who Perl than with normal people? Do you notice that you are going without the essentials food, water, shelter, simply so that you can perl? Have you ever found yourself waking up in strange places, in clothes you clearly haven't changed in days, with no memory of how you got there, in a littered heap of perl code printouts? People REALLY should think about these things before deciding if they really want to even know perl. ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://1cis.com Free E-mail Servers with unlimited mailboxes 1st Class Internet Solutions -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Library ref man
www.fineprint.com --- use that to print the webpages to pdf format... From: Arran === It is obvious: The only program that parses Perl is perl, and to really be Perl you also have to be perl. The easiest way to turn Perl code into an executable is to embed the perl interpreter! song: If you are sexy and you know it clap your hands Me: im going to go have to sit this one out... If builders built buildings the way programmers wrote programs, then the first woodpecker to come along would destroy civilization. We are the out casts of society, but when they relise its the out casts that create society, we will fall. Everything I know about thermal expansion I learnt from Neon Genesis Evangelion! And there's always those days where you start sending out emails with semicolons at the end of the sentences. Yesterday I even caught myself writing code on a piece of napkin on my lunch. I'm afraid the day will finally come where I start trying to rearrange all of my paragraphs into a single sentence. I mean sure, noone will know what the hell - Original Message - From: Postman Pat [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 17, 2002 12:29 AM Subject: Library ref man Greetings, I am looking for a perl library reference manual in PDF format if there is such a thing out there. I have seen library ref manuals in html, but was just wondering if there is anything in PDF just to avoid downloading the stuff. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://1cis.com Free E-mail Servers with unlimited mailboxes 1st Class Internet Solutions -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: File exists
so i could do?: #!c:\perl\bin\perl.exe uses *** if (-e c:\config.sys) { From: Arran === It is obvious: The only program that parses Perl is perl, and to really be Perl you also have to be perl. The easiest way to turn Perl code into an executable is to embed the perl interpreter! song: If you are sexy and you know it clap your hands Me: im going to go have to sit this one out... If builders built buildings the way programmers wrote programs, then the first woodpecker to come along would destroy civilization. We are the out casts of society, but when they relise its the out casts that create society, we will fall. Everything I know about thermal expansion I learnt from Neon Genesis Evangelion! And there's always those days where you start sending out emails with semicolons at the end of the sentences. Yesterday I even caught myself writing code on a piece of napkin on my lunch. I'm afraid the day will finally come where I start trying to rearrange all of my paragraphs into a single sentence. I mean sure, noone will know what the hell - Original Message - From: Matt C. [EMAIL PROTECTED] To: Perl Beginners List [EMAIL PROTECTED] Sent: Monday, May 20, 2002 12:27 AM Subject: Re: File exists use the -e operator... C:\perl -e print qq(file exists!) if -e 'c:\autoexec.bat' Output: file exists! perldoc -f -e will tell you more. Matt --- Arran4 [EMAIL PROTECTED] wrote: How do i find out if a file exists in ActivePerl? From: Arran === It is obvious: The only program that parses Perl is perl, and to really be Perl you also have to be perl. The easiest way to turn Perl code into an executable is to embed the perl interpreter! song: If you are sexy and you know it clap your hands Me: im going to go have to sit this one out... If builders built buildings the way programmers wrote programs, then the first woodpecker to come along would destroy civilization. We are the out casts of society, but when they relise its the out casts that create society, we will fall. Everything I know about thermal expansion I learnt from Neon Genesis Evangelion! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://1cis.com Free E-mail Servers with unlimited mailboxes 1st Class Internet Solutions -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
File exists
How do i find out if a file exists in ActivePerl? From: Arran === It is obvious: The only program that parses Perl is perl, and to really be Perl you also have to be perl. The easiest way to turn Perl code into an executable is to embed the perl interpreter! song: If you are sexy and you know it clap your hands Me: im going to go have to sit this one out... If builders built buildings the way programmers wrote programs, then the first woodpecker to come along would destroy civilization. We are the out casts of society, but when they relise its the out casts that create society, we will fall. Everything I know about thermal expansion I learnt from Neon Genesis Evangelion! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]