Re: changing the defualt "nobody"@somecomputer.com (mailx)

2002-03-10 Thread Rob Roudebush
I'm using mailx from within a script, so I can't use it interactively open (MFH, "| mailx -s 'Subject' [EMAIL PROTECTED]") print MFH < wrote: On Fri, Mar 08, 2002 at 06:05:07PM -0800, Rob Roudebush wrote: > > My CGI script shoots out an automated e-mail using mailx. Is there any way to change

RE: Regex question

2002-03-10 Thread Scot Robnett
I don't think you can check for the existence of an e-mail address without actually attempting to send mail to it. You can ping or traceroute a domain, but only the mail server associated with it knows if the username is valid or not. If this is wrong, somebody with information please reply to the

Re: Regex question

2002-03-10 Thread Rene Verharen
At 10-3-2002 09:36 -0500, fliptop wrote: >>Hey y'all, I got over my brain cramp and thought I'd share with the group in >>case it helps anyone trying to do something similar. I was making it way too >>complicated. All I needed was: >>if($email !~ /\w+@\w+\.\w{2,4}/) >>{ >> # error stuff here >>}

Re: Regex question

2002-03-10 Thread fliptop
Scot Robnett wrote: > Hey y'all, I got over my brain cramp and thought I'd share with the group in > case it helps anyone trying to do something similar. I was making it way too > complicated. All I needed was: > > if($email !~ /\w+@\w+\.\w{2,4}/) > { > # error stuff here > } have you conside

Re: Help with DBI.pm

2002-03-10 Thread fliptop
Brian Bratcher wrote: > I am trying to setup a cutom perl script to access Mysql databases > through HTTP. > So far I can connect and show all information. > this is the code I used to showall > > $sth=$dbh=DBI->connect("DBI:mysql:pizza","root",""); > $sth->prepare("select * from Customer"); > $