I found this to be the only way I could achieve this effect. Is there a better way?use constant foo => 'bar'; my $x = qr/ ${\&foo} /xo; "something" =~ $x;
In reply to Re: /o is dead, long live qr//!
by Anonymous Monk
in thread /o is dead, long live qr//!
by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |