What are you talking about? m// is the pattern match operator, and you can use characters other than / for the delimiter. Thus, the code can be:
/^coclli=(.*)/
# or
m!^coclli=(.*)!
# or
m<^coclli=(.*)>
Perl can be as eccentric as the programmers who use it.
japhy --
Perl and Regex Hacker | [reply] [d/l] |
perl allows you to specify any character as the regexp seperator. / is just a suggestion and I guess is most widely used? Either way the perldocs say you can use m## just as easy as m// if, for instance you wanted to match a string that had a lot of /'s in it and didn't want to \/ them all - m#///# would work and is a little easier to read than m/\/\/\//. Adam | [reply] |