Re: regex international phone #

2003-11-06 Thread Huub Peters
I agree that it seems a bit off but the regex in JavaScript is derived from Perl so i can understand why he posted to this list. - Original Message - From: Javier Nunez [EMAIL PROTECTED] To: perl users [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 10:59 PM Subject: RE: regex

Regex in Mail::BulkMail

2003-11-06 Thread Huub Peters
I'm using an older version of Mail::BulkMail that contains a regex to validate an e-mail address. Problem is that it only excepts 2 or 3 letters after the last dot. Nowadays we have new stuff like [EMAIL PROTECTED] that doesn't pass this regex. return $1 if $email =~ m ^\s*($word #any

Re: Strange perl problem on W2000

2003-11-06 Thread Huub Peters
Sorry, I'm extremely busy and sometimes just can't answer all the email I'm getting. No need to excuse yourself, I understand completely. I'm a very busy man myself ;-) You may want to experiment with different browsers; e.g. use Mozilla or Opera in addition to IE. This may very well be a

Re: Regex in Mail::BulkMail

2003-11-06 Thread $Bill Luebkert
Huub Peters wrote: I'm using an older version of Mail::BulkMail that contains a regex to validate an e-mail address. Problem is that it only excepts 2 or 3 letters after the last dot. Nowadays we have new stuff like [EMAIL PROTECTED] that doesn't pass this regex. return $1 if $email =~ m

AW: Regex in Mail::BulkMail

2003-11-06 Thread Wittrock, Friedel
I guess \.[a-zA-Z]{2-4})\s*$ is the answer, not tested regards Friedel Wittrock -Ursprüngliche Nachricht- Von: Huub Peters [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 6. November 2003 09:42 An: [EMAIL PROTECTED] Betreff: Regex in Mail::BulkMail I'm using an older version of

Re: Regex in Mail::BulkMail

2003-11-06 Thread Huub Peters
Hmm, I should have RTFM: perlre - Perl regular expressions clearly states: {n,m} Match at least n but not more than m times Thanks for the answers $Bill and Friedel. Regards,

AW: Regex in Mail::BulkMail

2003-11-06 Thread Wittrock, Friedel
sorry, \.[a-zA-Z]{2-4})\s*$ is wrong, \.[a-zA-Z]{2,4})\s*$ is ok. regards Friedel Wittrock -Ursprüngliche Nachricht- Von: Huub Peters [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 6. November 2003 09:42 An: [EMAIL PROTECTED] Betreff: Regex in Mail::BulkMail I'm using an older

NET:SMPT LocalPort?

2003-11-06 Thread Chris Jones
I have a script for sending emails: my $smtp = Net::SMTP-new($smtphost, LocalAddr='192.168.1.11', LocalPort='24'); if( defined( $smtp ) ) { print Okay\n; } else { print Bad\n; } # First the envelope bits $smtp-mail($from); $smtp-to($to); #

Win32::Console installation problem

2003-11-06 Thread Guay Jean-Sébastien
Hello, I am trying to install Win32::Daemon::Simple, which depends on Win32::Daemon and Win32::Console. I was able to build ppms myself from the CPAN distributions of Win32::Daemon and Win32::Daemon::Simple, but the problem is Win32::Console. It comes in a non-CPAN distribution zip file with an

Uncaught exception from user code with XML::Parser

2003-11-06 Thread Gary Nielson
I am learning to use XML::Parser. I am trying to pass a US Weather Service xml file. I can successfully parse it until it dies on me with the following error: C:\TEMP\xmlperl weather.pl Uncaught exception from user code: not well-formed (invalid token) at line 14580, column 1, byte 477680 at

Re: NET:SMPT LocalPort?

2003-11-06 Thread Glenn Linderman
The reason 25 works is that your locally installed SMTP host is listening on port 25 (probably). The port has to be configured the same on both ends of a connection... you can kind of think of IP and port numbers like a business telephone number with an extension. If you want to reach Mary

RE: Uncaught exception from user code with XML::Parser

2003-11-06 Thread Thomas, Mark - BLS CTR
That's not your problem. The error message says the XML file is not well formed. Following your link confirms it. That file has an error in it. The on line 485 seems to be the problem. That's not a proper entity reference. -- Mark Thomas[EMAIL PROTECTED] Internet Systems

Re: Uncaught exception from user code with XML::Parser

2003-11-06 Thread David Liouville
It's probably an XML error ... could you send the line 14580 of us.xml ? - Original Message - From: Gary Nielson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 06, 2003 6:20 PM Subject: Uncaught exception from user code with XML::Parser I am learning to use

RE: Uncaught exception from user code with XML::Parser

2003-11-06 Thread Gary Nielson
Thanks. The line is: which is used throughout the file. Here are the lines that surround that line with the line noted with -: cap:headline SHORT TERM FORECAST /cap:headline cap:description SHORT TERM FORECAST...CORRECTED FOR FORMAT NATIONAL WEATHER SERVICE JACKSON KY

Re: Uncaught exception from user code with XML::Parser

2003-11-06 Thread David Liouville
try replace with amp;amp; - Original Message - From: Gary Nielson [EMAIL PROTECTED] To: David Liouville [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, November 06, 2003 6:52 PM Subject: RE: Uncaught exception from user code with XML::Parser Thanks. The line is: which is

Re: NET:SMPT LocalPort?

2003-11-06 Thread Chris Jones
Glenn Thanks for the reply. The local smtp server listens on port 24. The domain is enersave.ca. The router forwards smtp to the local machine. So if you send an email to [EMAIL PROTECTED], you get routed through dyndns.org where the MX records are set to port 24. When I send an email out

RE: Uncaught exception from user code with XML::Parser

2003-11-06 Thread Gary Nielson
I replaced it and got the same exception error on line 14634 which contains the same . Mmm, interesting ... Up until that point, $$ is used instead of . -Original Message- From: David Liouville [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 12:56 PM To: Gary Nielson;

TImeStamp

2003-11-06 Thread Steven . Hatfield
THIS E-MAIL CONTAINS CONFIDENTIAL AND PRIVILEGED INFORMATION Hello all: Has anyone ever used Time stamp for a name of a file. I would like to create a file then Rename it to the Time stamp. Can anyone provide me some help? Thanks, -Steve  This message is intended for the recipient's use

Re: NET:SMPT LocalPort?

2003-11-06 Thread $Bill Luebkert
Chris Jones wrote: Glenn Thanks for the reply. The local smtp server listens on port 24. The domain is enersave.ca. The router forwards smtp to the local machine. So if you send an email to [EMAIL PROTECTED], you get routed through dyndns.org where the MX records are set to port 24.