1. Wow! Parallel::ForkManager is awesome. This post was worth a read if for no reason other than to find out about that module.
  2. Perhaps you could point out where line 232 is... nl can be used to number lines for you.
  3. I am including an email that I wrote to my IT department here but never sent out. Since you are trying to validate email addresses, you may find it useful:

There is a set of email addresses which are valid, per RFC 2822, call this set A.

The set of email addresses accepted by ISPs is ometimes a proper superset of set A and sometimes a proper subset of set A.

For example, an AOL email address can only contain letters and numbers. There is no typo in my last sentence. I am not drunk or otherwise intoxicated. What you see is what AOL tech support told me.

Example 2: goto Excite.com sometime when you have nothing to do and choose an email address like this: --perlhacker--@excite.com And lo and behold, it works!

Conclusion: so we see that AOL accepts a proper subset of set A and Excite accepts a proper superset of set A. I cringe in fear at continuing my investigation with other ISPs.

Even if an ISP accepts a proper superset of A, that does not mean that a mail sending program will send a mail addressed to such an email address...

just see the email that bounced after I registered --metaperl--@excite.com... Excite says its fine, but our ISP's mailer barfs on it.

This lengthy email is the result of staring at logs of rejected emails and wondering why people put certain things in the email field.

We have a slew of people who put email.@aol.com (a dot just before the @ sign). We also have a healthy number of janee@yahoo..com (which is probably just a spelling error, but you never know). And of course, what would life be like without --roy--@excite.com (which is great for good ol' roy, but unacceptable to certain mailers).

Conclusions

  1. certain email addresses should never have made it past the input form
  2. I have no choice but to only accept valid email addresses. Anything else is playing prophet
----- Original Message ----- From: "Mail Delivery System" <MAILER-DAEMON@lsh144.siteprotect.com> To: <tbone@directsynergy.com> Sent: Thursday, August 28, 2003 9:46 AM Subject: Undelivered Mail Returned to Sender > This is the Postfix program at host s1.mail-out.isp.lax.eggn.net. > > I'm sorry to have to inform you that the message returned > below could not be delivered to one or more destinations. > > For further assistance, please send mail to <postmaster> > > If you do so, please include this problem report. You can > delete your own text from the message returned below. > > The Postfix program > > <--metaperl--@excite.com>: invalid recipient syntax: "--metaperl--@excite.com" >

Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality... download and use The Emacs Code Browser


In reply to Re: Email::Valid::Loose failing on new box? by princepawn
in thread Email::Valid::Loose failing on new box? by neilwatson

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.