Re: Where is the error

2010-03-31 Thread Rene Schickbauer
Harry Putnam wrote: "Uri Guttman" writes: [...] . . . . . . . . . . . . . . . . . . . . . . . . . . . . but it all starts in your head. a disorganized mind can't ever be a good coder. I may be in deep do do here... Don't worry if you feel like bashing your head against a wall sometimes.

RE: Where is the error

2010-03-31 Thread Bob McConnell
From: Harry Putnam > "Uri Guttman" writes: > > [...] > >> . . . . . . . . . . . . . . . . . . . . . . . . . . . . but it >> all starts in your head. a disorganized mind can't ever be a good >> coder. > > I may be in deep do do here... > Aren't we all? Bob McConnell -- To unsubscribe, e-ma

Re: Where is the error

2010-03-31 Thread Harry Putnam
"Uri Guttman" writes: [...] > . . . . . . . . . . . . . . . . . . . . . . . . . . . . but it > all starts in your head. a disorganized mind can't ever be a good > coder. I may be in deep do do here... Thanks for all your input. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For

Re: Where is the error

2010-03-30 Thread Shlomi Fish
Hi Harry, On Tuesday 30 Mar 2010 05:36:09 Uri Guttman wrote: > > "HP" == Harry Putnam writes: > HP> "Uri Guttman" writes: > >>> "HP" == Harry Putnam writes: > HP> About that module Mail::Mailer. I still have lots of trouble reading > HP> code or docu written in the OOp format l

Re: Where is the error

2010-03-29 Thread Uri Guttman
> "HP" == Harry Putnam writes: HP> "Uri Guttman" writes: >>> "HP" == Harry Putnam writes: >> HP> About that module Mail::Mailer. I still have lots of trouble reading HP> code or docu written in the OOp format like the docs for that module. HP> The part I'm asking about is

Re: Where is the error

2010-03-29 Thread Harry Putnam
"Uri Guttman" writes: >> "HP" == Harry Putnam writes: > > HP> About that module Mail::Mailer. I still have lots of trouble reading > HP> code or docu written in the OOp format like the docs for that module. > HP> The part I'm asking about is clear enough, but I couldn't find in the >

Re: Where is the error

2010-03-29 Thread Uri Guttman
> "HP" == Harry Putnam writes: HP> About that module Mail::Mailer. I still have lots of trouble reading HP> code or docu written in the OOp format like the docs for that module. HP> The part I'm asking about is clear enough, but I couldn't find in the HP> body of the docu, what it re

Re: Where is the error

2010-03-29 Thread Harry Putnam
"Uri Guttman" writes: > here is a simple use of a module i like. note that it would be easy > to change the mailer if i wanted to. no need to know any > quirks/syntax of each mailer. also note the nice argument list of > the headers. > > #my $mailer = Mail::Mailer->new( 'sendmail', '/usr/sbin/sen

Re: Where is the error

2010-03-28 Thread Rene Schickbauer
Hi! (Reordered to make more readable) > cs> Hi all , > cs> use sendmail -f $from $to and check , may be it should work fine ... > secondly, did you read this thread? you can't call sendmail without a path since it usually resides in non-standard dirs unlikely to be in your path. Also, c

Re: Where is the error

2010-03-26 Thread Uri Guttman
> "cs" == chintan sheth writes: cs> Hi all , cs> use sendmail -f $from $to and check , may be it should work fine ... first off, please don't top post. put your comments below the edited quote of the previous post. notice how i did it. secondly, did you read this thread? you can't call

Re: Where is the error

2010-03-26 Thread chintan sheth
Hi all , use sendmail -f $from $to and check , may be it should work fine ... Thanks , Chintan On 3/27/10, Harry Putnam wrote: > > "Uri Guttman" writes: > > > > yes. it will be more portable (you have sendmail's path hard wired > > and it varies). they can use other mailers (i have qmail). the

Re: Where is the error

2010-03-26 Thread Harry Putnam
"Uri Guttman" writes: > yes. it will be more portable (you have sendmail's path hard wired > and it varies). they can use other mailers (i have qmail). they can > use smtp directly to your isp's server (not calling a local > server). they have more options and are easier to understand. they > don

Re: Where is the error

2010-03-26 Thread Uri Guttman
> "HP" == Harry Putnam writes: HP> "Uri Guttman" writes: >> and yes, this is garbage code. there are many easy to use mail modules >> that will use sendmail or any available mail service for you. HP> With such a simple call to sendmail, is it still better to involve HP> extra mod

Re: Where is the error

2010-03-26 Thread Harry Putnam
"Uri Guttman" writes: >> "HP" == Harry Putnam writes: > > HP> open(SENDMAIL,"|$sendmail $recip") or die "Can't open <$sendmail>: > $!"; > HP> while () { > > what is that line supposed to do? it reads from the SENDMAIL handle > which is opened for WRITING. why do you think you

Re: Where is the error

2010-03-25 Thread Uri Guttman
> "HP" == Harry Putnam writes: HP> open(SENDMAIL,"|$sendmail $recip") or die "Can't open <$sendmail>: $!"; HP> while () { what is that line supposed to do? it reads from the SENDMAIL handle which is opened for WRITING. why do you think you need that or even to loop over that h