SPUG: ifs and whiles and hashes...
Tim Maher/CONSULTIX
tim at consultix-inc.com
Wed Aug 18 18:56:41 CDT 1999
>> Message submitted at: Wed Aug 18 16:56:41 PDT 1999
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 843
According to Tim Maher/CONSULTIX:
> > > if ($dbaseLine =~ m/^\"(?:.*)\",\"(.*)\",\"(.*)\"/) {
Okay, one last attempt to save face and put this \ issue to rest: 8-}
* if you want to match \", you need to write \\";
* if you want to match ", you only need to write ".
* If you write \" when trying to match ",
you'll succeed in getting your match,
but you might confuse your code-readers with those
extraneous backslashes!
*==================================================================*
| Tim Maher, PhD CEO, Consultix & (206) 781-UNIX/8649 |
| Pacific Software Gurus, Inc. Email: tim at consultix-inc.com |
| "The UNIX/Perl Training Experts" http://www.consultix-inc.com |
|CLASSES: Shell+Utils: 8/23-27; Perl: 8/30-9/1; Perl Modules: 9/2;|
*==================================================================*
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
Email to majordomo at pm.org: ACTION spug-list your_address
More information about the spug-list
mailing list