Thanks again - that "/eg" opens up a whole world of possibilities!
John W. Krahn wrote:
q() is another way of saying ''. All the quote operators can be found
in the perlop.pod document under "Quote and Quote-like Operators"
section.
If you want your version to work correctly you are going to hav
: $1
/eg;
(I removed the q( ) parts from your script as it did n't work when I
used variables - what does the q( ) part mean?)
Again, thank you,
martin
John W. Krahn wrote:
Martin Costello wrote:
Hello,
Hello,
I'm trying to do a search and replace on a file (specifical
Hello,
I'm trying to do a search and replace on a file (specifically the word
transformC). A cut down version of the file is below:
blahblah -blah blah
-blah blah -blah $blah -blah "Ground"
-c "blah transformC" transformC;