全部搜尋項
bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: perltidier  ]

套件:perltidier(1.20-1)

perltidier 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 perltidier

維護小組:

外部的資源:

相似套件:

tweaks to Perl::Tidy to support some syntactic sugar

There are a number of modules on CPAN that allow users to write their classes with a more "modern" syntax. These tools eliminate the need to shift off $self, can support type checking and offer other improvements. Unfortunately, they can break the support tools that the Perl community has come to rely on. This module attempts to work around those issues.

The module uses Perl::Tidy's "prefilter" and "postfilter" hooks to support "method" and "func" keywords, including the (possibly multi-line) parameter lists. This is quite an ugly hack, but it is the recommended method of supporting these new keywords. The resulting formatted code will leave the parameter lists untouched.

Perl::Tidy::Sweetened attempts to support the syntax outlined in the following modules, but most of the new syntax styles should work:

 * p5-mop
 * Method::Signatures::Simple
 * MooseX::Method::Signatures
 * MooseX::Declare
 * Moops
 * perl 5.20 signatures
 * Kavorka

其他與 perltidier 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 perltidier

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 31。0 kB75。0 kB [檔案列表]