expostfacto
Programmer
simple example:
$v = 'test';
if (' test ' =~ '/\\b$v\\b/') {
print 'booya';
}
(obviously matching against simply /\b$v\b/ won't work 'cause that'll get the RE meaning of $ rather than the scalar-access meaning.)
how can I do this?
$v = 'test';
if (' test ' =~ '/\\b$v\\b/') {
print 'booya';
}
(obviously matching against simply /\b$v\b/ won't work 'cause that'll get the RE meaning of $ rather than the scalar-access meaning.)
how can I do this?