Skip to content
Sections
>> Trisquel >> Paketler >> aramo >> perl >> libobject-declare-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Kaynak: libobject-declare-perl  ]

Paket: libobject-declare-perl (0.25-1)

declarative object constructor

Object::Declare exports one function, declare, for building named objects with a declarative syntax, similar to how Jifty::DBI::Schema defines its columns.

In list context, declare returns a list of name/object pairs in the order of declaration (allowing duplicates), suitable for putting into a hash. In scalar context, declare returns a hash reference.

Example: function for defining some declarative object

 sub do_declare { declare {
     column x =>
         is rw,
         is Very::Happy;
     } };

libobject-declare-perl ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen
  • dep: libsub-override-perl
    Perl module used to temporarily override subroutines
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libobject-declare-perl indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
all 13,0 kB34 kB [dosya listesi]