Type Class
Class::Classgen::New is a Perl module that creates the new() method for classes generated by classgen. SYNOPSIS Used within classgen. The main purpose of New.pm is to write the new() method for a class generated by classgen. It provides code to derive local instance variables with my for...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (93): Class::Classgen::New Download |
Class::Method::hash is a Perl module that helps you create methods for handling a hash value. SYNOPSIS use Class::MethodMaker [ hash => [qw/ x /] ]; $instance->x; # empty $instance->x(a => 1, b => 2, c => 3); $instance->x_count == 3; # true $instance->x = (b => 5, d => 8); # Note this...
Platforms: *nix
License: Freeware | Size: 89.09 KB | Download (105): Class::Method::hash Download |
Class::MethodMaker::V1Compat is a V1 compatibility code for C::MM. SYNOPSIS This class is for internal implementation only. It is not a public API. Class::MethodMaker version 2 strives for backward-compatiblity with version 1 as far as possible. That is to say, classes built with version 1...
Platforms: *nix
License: Freeware | Size: 88.06 KB | Download (102): Class::MethodMaker::V1Compat Download |
Class::XML is a Perl module for simple XML Abstraction. SYNOPSIS package Foo; use base qw/Class::XML/; __PACKAGE__->has_attributes(qw/length colour/); __PACKAGE__->has_child(bar => Bar); package Bar; use base qw/Class::XML/; __PACKAGE__->has_parent(foo);...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (97): Class::XML Download |
DBIx::Class::Manual::Cookbook is a Perl module that contains miscellaneous recipes. Paged results When you expect a large number of results, you can ask DBIx::Class for a paged resultset, which will fetch only a small number of records at a time: my $rs = $schema->resultset(Artist)->search(...
Platforms: *nix
License: Freeware | Size: 286.72 KB | Download (101): DBIx::Class::Manual::Cookbook Download |
DBIx::Class::CDBICompat is a Class::DBI Compatibility layer. SYNOPSIS use base qw/DBIx::Class/; __PACKAGE__->load_components(qw/CDBICompat Core DB/); DBIx::Class features a fully featured compatibility layer with Class::DBI to ease transition for existing CDBI users. In fact, this class is...
Platforms: *nix
License: Freeware | Size: 174.08 KB | Download (89): DBIx::Class::CDBICompat Download |
Class::MakeMethods::Template package contains extensible code templates. SYNOPSIS package MyObject; use Class::MakeMethods::Template::Hash ( new => new, string => foo, number => bar, ); my $obj = MyObject->new( foo => "Foozle", bar => 23 ); print $obj->foo(); $obj->bar(42);...
Platforms: *nix
License: Freeware | Size: 163.84 KB | Download (87): Class::MakeMethods::Template Download |
Class::MakeMethods::Template::Generic Perl module contains templates for common meta-method types. SYNOPSIS package MyObject; use Class::MakeMethods ( Template::Hash:new => [ new ], Template::Hash:scalar => [ foo ] Template::Static:scalar => [ bar ] ); package main; my $obj =...
Platforms: *nix
License: Freeware | Size: 153.6 KB | Download (87): Class::MakeMethods::Template::Generic Download |
Class::NiceApi is a Perl module that translates your methodNames to my method_names. SYNOPSIS use Class::NiceApi; my $acl = Class::NiceApi->new( victim => Decision::ACL->new(), style => custom, table => { run_acl => RunACL } ); Perl method names should be written lowercased and multiple...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (92): Class::NiceApi Download |
Class::Maker Perl module contains classes, reflection, schema, serialization, attribute- and multiple inheritance. SYNOPSIS use Class::Maker qw(class); class Human, { isa => [qw( ParentClass )], public => { string => [qw(name lastname)], ref => [qw(father mother)], array =>...
Platforms: *nix
License: Freeware | Size: 49.15 KB | Download (110): Class::Maker Download |
Data::Type::Docs is a Perl module with the manual overview. MANUALS Data::Type::Docs::FAQ Frequently asked questions. Data::Type::Docs::FOP Frequently occuring problems. Data::Type::Docs::Howto Point to point recipes how to get things done. Data::Type::Docs::RFC Exact API...
Platforms: *nix
License: Freeware | Size: 70.66 KB | Download (88): Data::Type::Docs Download |
Data::Type is a Perl module with versatile data and value types. SYNOPSIS use Data::Type qw(:all); use Error qw(:try); try { verify $email , EMAIL; verify $homepage , URI(http); verify $cc , CREDITCARD( MASTERCARD, VISA ); verify $answer_a , YESNO; verify $gender , GENDER; verify...
Platforms: *nix
License: Freeware | Size: 22.53 KB | Download (97): Data::Type Download |
Attachment Mailer class is a PHP class that can send email messages with multiple attachments and HTML. I wrote this class to integrate more functionality for classes like Access_user or DB_cart and others using PHP’s mail function. But the class can be also used in every web application...
Platforms: *nix
License: Freeware | Size: 19.46 KB | Download (184): Attachment Mailer class Download |
DB_cart Class is a MySQL shopping cart script that can be used with third party product catalogues and membership systems. The MySQL database structure is neutral to existing systems. DB_cart Class can handle the shopping cart (add, update, and empty) and checkout process (set the shipment...
Platforms: *nix
License: Freeware | Size: 35.84 KB | Download (130): DB_cart Class Download |
Class::Accessor::Fast::Contained is a Perl module for fast accessors with data containment. SYNOPSIS package Foo; use base qw(Class::Accessor::Fast::Contained); # The rest is the same as Class::Accessor::Fast This module does two things differently to the venerable Class::Accessor::Fast...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (101): Class::Accessor::Fast::Contained Download |
File::Type::Builder is Perl module to parse mime-magic and generate code. SYNOPSIS my $build = File::Type::Builder->new(); while ( ) { chomp; my $parsed = $build->parse_magic($_); my $code = $build->string_start($parsed); (or string_offset or beshort) } Reads in the mime-magic...
Platforms: *nix
License: Freeware | Size: 153.6 KB | Download (93): File::Type::Builder Download |
Class::Cloneable is a base class for Cloneable objects. SYNOPSIS package MyObject; our @ISA = (Class::Cloneable); # calling clone on an instance of MyObject # will give you full deep-cloning functionality This module provides a flexible base class for building objects with cloning...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (101): Class::Cloneable Download |
Class::Interfaces is a Per module for defining interface classes inline. SYNOPSIS # define some simple interfaces use Class::Interfaces ( Serializable => [ pack, unpack ], Printable => [ toString ], Iterable => [ iterator ], Iterator => [ hasNext, next ] ); # or some more complex ones...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (93): Class::Interfaces Download |
Class::Inner is a perlish implementation of Java like inner classes. SYNOPSIS use Class::Inner; my $object = Class::Inner->new( parent => ParentClass, methods => { method => sub { ... } }, }, constructor => new, args => [@constructor_args], ); Yet another implementation of an...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (98): Class::Inner Download |
Class::Phrasebook is a Perl module that implements the Phrasebook pattern. SYNOPSIS use Class::Phrasebook; my $pb = new Class::Phrasebook($log, "test.xml"); $pb->load("NL"); # using Dutch as the language $phrase = $pb->get("ADDRESS", { street => "Chaim Levanon", number => 88, city =>...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (100): Class::Phrasebook Download |