Subject: | No 'interpolations' method for PPI::Token::Quote::Interpolate? |
Why is there no copy of the 'interpolations' sub in
PPI::Token::Quote::Interpolate? It seems like the exact same code
should work as is.
I've just added the regex in my custom P::C policy instead of using the
interpolations method but it would be nice to hide the regex behind the
api (in case of future changes, etc).
In fact, it almost seems reasonable to make Interpolate a subclass of
Double but I guess that would easily break lots of existing code. (Or
perhaps there's even a good reason for not structuring it so?)