Ah ha!!!  Thank you - thank you - thank you!

I completely missed that on all twenty rereads of the example.  I guess
this is where experience starts to build - remembering past mistakes and
understand *exactly* how functions work. :)

Tom Carroll
Dataware Computers

-----Original Message-----
From: Keith Woody [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 10, 2002 5:42 PM
To: Tom Carroll
Cc: [EMAIL PROTECTED]
Subject: Re: [e-smith-devinfo] Perl programmers - help for a lowly
unworthy newbie


Tom,

<snip>
$name =~ s/W.*//;                         # get rid of everything after
</snip>

in the above, 'W' should be '\W' (<backslash>W). \W stands for any
character that is not a "word" character. word characters are
[a-zA-Z_0-9].

-Keith


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to