@days = ( 1 .. 31 ); local $" = q{|}; m{(?:@days)};
You'd probably want to limit the local $" inside a code block to avoid unexpected side effects elsewhere.
Cheers,
JohnGG
In reply to Re^3: Regex question
by johngg
in thread Regex question
by coltman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |