SPUG: a s/// question.
Damian Conway
damian at cs.monash.edu.au
Tue May 2 18:14:07 CDT 2000
Scott Blachowicz wrote:
> Note that the parens are special, so if you want them to match literal
> parens you need to escape them:
>
> $Line =~ s/name last chng bid ask vol\(H\)
Alternatively, the \Q metacharacter turns off all other special characters
that follow it:
$Line =~ s/\Qname last chng bid ask vol(H) high low ahigh alow//;
Damian
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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