What does Basic debugging checklist say about it? ( O=Deparse and re=debug )
You should stick to m// or s/// or m{} or s{}{} because
while you can use s\\\ or s@@@ or s### as delimiters they're the worst option available
while you can use s\\\ or s@@@ or s### as delimiters they're the worst option available
while you can use s\\\ or s@@@ or s### as delimiters they're the worst option available
Perl::Critic::Policy::RegularExpressions::ProhibitUnusualDelimiters - Use only // or {} to delimit regexps.
Perl::Critic::Policy::ValuesAndExpressions::ProhibitQuotesAsQuotelikeOperatorDelimiters - Don't use quotes (', ", `) as delimiters for the quote-like operators.
In reply to Re: Regex delimiters: '/' vs '|' ( m// or s/// or m{} or s{}{} )
by Anonymous Monk
in thread Regex delimiters: '/' vs '|'
by tel2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |