Is there a Perl::Critic policy to catch attempts to use method calls within interpolation? So, it would catch this, and perhaps more convoluted examples like "$ref->()" or "$obj->$meth".
say "U GOTS $account->balance LEFTZ";
If not, would you do it naïvely in PPI or something? This isn’t a big enough deal to chase a lot, I’m just curious. :P
In reply to Perl::Critic policy to catch quoted execution? by Your Mother
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |