Google Groups Home
Help | Sign in
Message from discussion Simple problem with Email::Address
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
ber...@fantasyfarm.com  
View profile
 More options May 16, 3:17 pm
Newsgroups: comp.lang.perl.misc, comp.lang.perl.modules
From: ber...@fantasyfarm.com
Date: Fri, 16 May 2008 12:17:25 -0700 (PDT)
Local: Fri, May 16 2008 3:17 pm
Subject: Re: Simple problem with Email::Address
On May 16, 3:08 pm, "comp.llang.perl.moderated" <c...@blv-

sam-01.ca.boeing.com> wrote:
> On May 16, 10:37 am, Bernie Cosell <ber...@fantasyfarm.com> wrote:> I'm trying to parse an email address and I can't seem to get Email::Address
> > to work quite.

> > #!/usr/bin/perl

> > use strict;
> > use warnings ;
> > use Email::Address ;

> > my $addr = "My Name              <myname\@verizon.net>\n" ;
> > my @addrs = Email::Address::parse($addr) ;

>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>               Email::Address->parse($addr);

Thanks!  Total brain cramp...  I _thought_ I had cut/pasted the call
to parse from the E::A man page but obviously I screwed up bigtime
[and it was one of those dumbnesses that after-the-fact you can't see
in your own code].  THANKS!!

  /Bernie\


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google