все параметры
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Источник: libscalar-properties-perl  ]

Пакет: libscalar-properties-perl (1.100860-3)

Ссылки для 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

  • зависимости
  • рекомендации
  • предложения
  • enhances

Загрузка libscalar-properties-perl

Загрузить для всех доступных архитектур
Архитектура Размер пакета В установленном виде Файлы
all 14,5 Кб38,0 Кб [список файлов]