in reply to %% in perl mean

That's just some '%' characters to search for. Perhaps what you really want to know is what the s/// part is all about.