SPUG: a s/// question.
Jay Scherrer
Gimpit at netscape.net
Tue May 2 15:39:27 CDT 2000
Hello Fellow SPUGERS,
I have been going around and around with trying to replace this string with a
blank line. Perhaps someone could give me a clue with s///?
The following string occurs three or four times in the files that I'm working
with. All I want to do is replace this string with a blank line. ## Constant
string needed to be stripped from file ##
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//;
This seems to work on the other headings that are shorter but it seems to
ignore this match.
Any suggestions?
Jay Scherrer
Jay at Scherrer.com
Gimpit at netscape.net
____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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