develooper Front page | perl.beginners | Postings from February 2002

RE: select text

Thread Previous | Thread Next
From:
Gary Hawkins
Date:
February 5, 2002 09:40
Subject:
RE: select text
Message ID:
LOBBIJFNBAGIOILLFAIBCEIMNHAA.ghawk@eskimo.com


> -----Original Message-----
> From: John Edwards [mailto:edwardsj@runecraft.com]
> Sent: Tuesday, February 05, 2002 9:25 AM
> To: 'Jonathan E. Paton'; beginners@perl.org
> Subject: RE: select text
> 
> 
>   "Give a man a fish and you feed him for a day.
>    Teach a man to fish and you feed him for a life time."
>   
>   -Chinese proverb
> 
> This is a beginners list, no? I thought we were here to help people learn,
> not provide them with solutions that may work, but they don't know how...
> 
> John



In that particular case I'd say we're midwives helping a new spammer hatch.


> 
> -----Original Message-----
> From: Jonathan E. Paton [mailto:jonathanpaton@yahoo.com]
> Sent: 05 February 2002 17:19
> To: beginners@perl.org
> Subject: Re: select text
> 
> 
>  --- Roman Fordinal <fordinal@slovanet.sk> wrote:
> > 
> >   I need to get the email address from string:
> >   
> >   $email="Name LastName <name@domain.com>"
> > 
> >   How do I extract it?  [Above converted to English -
> JEP]
> 
> ($email = $email ) =~ /\<([^>]+)\>$/;
> 
> Jonathan Paton
> 
> 

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About