chuleto1 has asked for the wisdom of the Perl Monks concerning the following question:
I would like to know how to have match operator "match" the * as a char and not as an regexp operator. Current implementation interprets the * as a regexp operator.$line = "THIS TEXT HAS A * IN IT"; $theMatch = "THIS TEXT HAS A * IN IT"; if($theMatch =~ /$line/ ) { s/$line/$tag/g; }
thanks for you wisdom
edited: Mon Jul 29 20:29:42 2002 by jeffa - added code tags
Back to
Seekers of Perl Wisdom