jfroebe has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I guess most of us use the forward slash (/) to separate the sections of a match/substring replacement (i.e. s/potato/apple/g). What is the most widely used separator when you have the forward slash in the strings? (i.e s|potato/tomato|apple/orange|g)
I ask out of curiousity as well as if I write a chunk of code, what separator would be easiest for someone else to glance at it without have to change 'modes' (oh, he's using "|" instead of my (insert favorite))
Jason L. Froebe
No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1
|
|---|