全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: libscalar-properties-perl  ]

套件:libscalar-properties-perl(1.100860-1)

libscalar-properties-perl 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 libscalar-properties-perl

維護小組:

外部的資源:

相似套件:

perl module to add run-time properties on scalar variables

Scalar::Properties attempts to make Perl more object-oriented by taking an idea from Ruby: Everything you manipulate is an object, and the results of those manipulations are objects themselves.

'hello world'->length (-1234)->abs "oh my god, it's full of properties"->index('g')

The first example asks a string to calculate its length. The second example asks a number to calculate its absolute value. And the third example asks a string to find the index of the letter 'g'.

Using this module you can have run-time properties on initialized scalar variables and literal values. The word 'properties' is used in the Perl 6 sense: out-of-band data, little sticky notes that are attached to the value. While attributes (as in Perl 5's attribute pragma, and see the Attribute::* family of modules) are handled at compile-time, properties are handled at run-time.

標籤: 軟體開發: Perl 開發, 函式庫, 實做語言: Perl

其他與 libscalar-properties-perl 有關的套件

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

下載 libscalar-properties-perl

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