Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> perl >> libperlx-define-perl
nabia  ] [  aramo  ]
[ 原始碼: libperlx-define-perl  ]

套件: libperlx-define-perl (0.101-4)

cute syntax for defining constants

PerlX::Define is a yet another module for defining constants.

Differences from constant.pm:

 * Cute syntax.
   Like constant.pm, constants get defined at compile time,
   not run time.
 * Requires Perl 5.12 or above.
   If you're lucky enough to be able to free yourself
   from the shackles of supporting decade-old versions of Perl,
   PerlX::Define is your friend.
 * Only supports scalar constants.
   List constants are rarely useful.
   Your constant can of course be a reference to an array or hash,
   but this module doesn't attempt
   to make the referred-to structure read only.
 * Doesn't try to handle some of the things constant.pm does
   like declaring constants using fully-qualified names,
   or defining constants pointing at magic scalars.

Prior to version 0.100, PerlX::Define was bundled with Moops.

其他與 libperlx-define-perl 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 libperlx-define-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 6.2 kB21 kB [文件列表]