theSeeker03
Programmer
ok, for some reason I could not find this example in O'Reily book.
I want to substitute every string of "==" to be "|", in $_
so I say:
s/==/|/;
but that only substitutes the first occurence of "==", not all of them. How do you substitute all of them?
I want to substitute every string of "==" to be "|", in $_
so I say:
s/==/|/;
but that only substitutes the first occurence of "==", not all of them. How do you substitute all of them?