File: control

package info (click to toggle)
libscalar-properties-perl 0.13-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 172 kB
  • ctags: 161
  • sloc: perl: 1,763; makefile: 16
file content (32 lines) | stat: -rw-r--r-- 1,421 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Source: libscalar-properties-perl
Section: perl
Priority: optional
Build-Depends: debhelper (>= 7)
Build-Depends-Indep: perl (>= 5.8.0-7), libtest-pod-perl, libtest-perl-critic-perl
Maintainer: Miguelangel Jose Freitas Loreto <miguelangel.freitas@gmail.com>
Standards-Version: 3.8.0
Homepage: http://search.cpan.org/dist/Scalar-Properties/

Package: libscalar-properties-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}
Enhances: libdata-compare-perl
Description: 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.