in reply to How do I call a method within a regular expression (5.004)?
I'd assume that one reason 5.005 supports ?{} is
that 5.004 needed it. :) Although the object
would definitly have to return a match string,
right?... So if you have an object that just
outputs data, the proper syntax would be:
$myobj->print() =~ /$myvar/
So you might want to/need to swap what's doing the
matching on what. Of course, without context I'm
not sure if this is even possible.
-Ted
-Ted
|
---|
In Section
Seekers of Perl Wisdom