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
- Next message: Tad McClellan: "Re: Pipe outputs response to browser"
- Previous message: Tad McClellan: "Re: noob question: Trying to extract part of a string in a variable to another variable"
- In reply to: Web Surfer: "Re: noob question: Trying to extract part of a string in a variable to another variable"
- Next in thread: gnari: "Re: noob question: Trying to extract part of a string in a variable to another variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Tad McClellan: "Re: Pipe outputs response to browser"
- Previous message: Tad McClellan: "Re: noob question: Trying to extract part of a string in a variable to another variable"
- In reply to: Web Surfer: "Re: noob question: Trying to extract part of a string in a variable to another variable"
- Next in thread: gnari: "Re: noob question: Trying to extract part of a string in a variable to another variable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|