Thank you. Yes, that certainly works for $P2.
What I really wanted though was a single specification for "-delim =>" that uses back-slash OR forward-slash as delimiters.
However, your suggestion has sparked an idea. It turns out that {-delim => '\\\/'} does indeed work for both cases. That's great!
Cheers, Ron.
In reply to Re^2: Delimiters in Regexp::Common
by rongrw
in thread Delimiters in Regexp::Common
by rongrw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |