Re: noob question: Trying to extract part of a string in a variable to another variable

From: Tad McClellan (tadmc_at_augustmail.com)
Date: 04/25/04


Date: Sun, 25 Apr 2004 13:02:38 -0500

Web Surfer <raisin@delete-this-trash.mts.net> wrote:

> $mail_address =~ /(\w+)@/;
> $userid = $1;

What is with this epidemic of teaching the WRONG way in this thread?

-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


Relevant Pages

  • Re: Gas Explosion Shakes Texas
    ... > was visible for 100 miles, Palo Pinto County sheriff's dispatcher Linda Ezell ... > The blast formed a large crater and ignited secondary fires for a mile around, ... > Crews from nearby fire departments, the Texas Forest Service and the Texas ... > The site was about 60 miles west of Fort Worth. ...
    (sci.geo.geology)
  • Re: I-45 vs. I-35E
    ... >> original system was being planned, but after my recent trip to Texas I ... >> One argument against it might be that then Dallas and Austin wouldn't ... I personally prefer Fort Worth to Dallas. ...
    (misc.transport.road)
  • RE: Excel User Conference - US location
    ... Damon, if you scheduled the next conference in the San Francisco Bay Area I'd ... Can't make Fort Worth, Texas I'm sorry to say. ... > Just a reminder about the 2005 Excel User Conference. ...
    (microsoft.public.excel.misc)
  • Gas Explosion Shakes Texas
    ... PALO PINTO, Texas? ... about 12 miles west of Palo Pinto. ... The sound from the blast shook residents for miles around an area, ... The site was about 60 miles west of Fort Worth. ...
    (sci.geo.geology)
  • Re: Texas: Chris Comer files suit
    ... included other issues besides the email message she sent ... Texas, which may very well be the intent of certain factions in the ... Texas BOE. ... newspaper story wrt teaching the "strengths & weaknesses", ...
    (talk.origins)