SPUG: a s/// question.

Scott Blachowicz scott at sabmail.rresearch.com
Tue May 2 16:15:48 CDT 2000


On Tue, May 02, 2000 at 01:39:27PM -0700, Jay Scherrer wrote:
> ...
> name	last	chng	bid	ask	vol(H)	high	low	ahigh	alow		
> 
> ####I have been trying this line nested with in a if ( .. ) range operator:
> 
> $Line =~ s/name	last	chng	bid	ask	vol(H)	high	low	ahigh	alow//;
> 

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\)	high	low	ahigh	alow//;

-- 
Scott Blachowicz

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     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