In the second case, it is used to change the delimiters of a regex. Typically used to get rid of the leaning toothpick problem.
print "matched" if /\/foo\/bar\/index\.html/; # vs print "matched if m"foo/bar/index\.html";
Cheers - L~R
In reply to Re: M"anything"
by Limbic~Region
in thread M"anything"
by cjkim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |