Is there an automated way to discover Embperl 1.x syntax not compatible with Embperl 2.x?

StackOverflow https://stackoverflow.com/questions/4958139

  •  12-11-2019
  •  | 
  •  

Вопрос

There seem to be several things that were valid in Embperl 1.x that are no longer supported in Embperl 2.x. As an example:

[+ +] blocks must now contain a valid Perl expression. Embperl 1.x allows you to put multiple statements into such a block. For performance reasons this is not possible anymore.

Given a very large Embperl 1.x codebase, is there an automated way to scan the .epl files and discover the incompatibilities? I don't care about implementation - anything from some special flag in Embperl 2.0 to some plugin for Perl::Critic is fine.

As long as it's not Mark 1 eyeball or "switch to Embperl2 and see what breaks" :)

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top