Accessors
This script presents an ideom for simplified accessors, that combines typical getter and setter functionality of an attribute into a single overloaded method, that instead of getATTRIBUTE and setATTRIBUTE can now just be called ATTRIBUTE. When called without arguments it acts as a getter and...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Simplified attribute accessors using overloading Download |
Class::Accessor::Named is a great way to automate the tedious task of generating accessors and mutators. One small drawback is that due to the details of the implemenetation, you only get one "__ANON__" entry in profiling output. That entry contains all your accessors, which can be a real pain...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (100): Class::Accessor::Named 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 |
This class lets you build groups of accessors that will call different getters and setters.
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (33): Class::Accessor::Grouped Download |
Apache2::RequestRec is a Perl API for Apache request record accessors. Synopsis use Apache2::RequestRec (); # set supported by the handler HTTP methods $allowed = $r->allowed(); # auth type $auth_type = $r->ap_auth_type(); # QUERY_STRING $args = $r->args(); # non-parsed-headers...
Platforms: *nix
License: Freeware | Size: 3.5 MB | Download (94): Apache2::RequestRec Download |
XMLBeans is a technology for accessing XML by binding it to Java types. XMLBeans provides several ways to get at the XML, including: * Through XML schema that has been compiled to generate Java types that represent schema types. In this way, you can access instances of the schema through...
Platforms: Java
License: Freeware | Size: 11.51 MB | Download (44): Apache XMLBeans Download |
Ruby/ActiveLdap provides an object oriented interface to LDAP. It maps LDAP entries to Ruby objects with LDAP attribute accessors exposed as methods dynamically assigned based on your LDAP server's schema and each object's objectClasses.
Platforms: Ruby
License: Freeware | Size: 204.8 KB | Download (64): Ruby/ActiveLdap Download |
CocoaAccessorWriter automates the writing of accessor methods when developing software using the Cocoa object library and the Objective-C language on Mac OS X. CocoaAccessorWriter is a pale imitation of the real thing ???*a*? Accessorizer ???*a*? by Kevin Callahan. If you want an extensive array...
Platforms: Mac
License: Freeware | Size: 30.72 KB | Download (37): CocoaAccessorWriter Download |
AutoXS is a Perl module that contains some scary code. Developer comments I'm not even sure it abides by the official Perl API totally. Furthermore, it's my first real XS module. It abuses some features of the XS/XSUB syntax. If you break it, you get to keep both halves. That being said, the...
Platforms: *nix
License: Freeware | Size: 40.96 KB | Download (36): AutoXS Download |
XML::All is a Perl module that contains overloaded XML objects. SYNOPSIS use XML::All; Â my $xml = < < a href=/ >1 < b >2< /b > < em >3< /em >< /a > >; Â print $$xml; # a print join ", ", @$xml; # 1, < b >2< /b >, < em >3< /em > print join ", ", %$xml; # href, / Â print $xml->b();...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (93): XML::All Download |
List::MRU is a Perl module that implements a simple fixed-size MRU-ordered list. SYNOPSIS use List::MRU; # Constructor $lm = List::MRU->new(max => 20); # Constructor with explicit eq subroutine for obj equality tests $lm = List::MRU->new(max => 20, eq => sub { $_[0]->stringify eq...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (100): List::MRU Download |
Myco::Entity is a common base class for all Myco entity classes. SYNOPSIS ### Entity class definition package Myco::Foo; use base qw(Myco::Entity); # Start building metadata my $metadata = Myco::Entity::Meta->new ( name => __PACKAGE__, tangram => { table => Foo } );...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (89): Myco::Entity Download |
Data::CTable is a Perl module that helps you read, write, manipulate tabular data. SYNOPSIS ## Read some data files in various tabular formats use Data::CTable; my $People = Data::CTable->new("people.merge.mac.txt"); my $Stats = Data::CTable->new("stats.tabs.unix.txt"); ## Clean stray...
Platforms: *nix
License: Freeware | Size: 153.6 KB | Download (95): Data::CTable Download |
Calyxo Web Application Framework encourages in MVC model 2 based web application development. It offers support for true modular applications, i18n, a flexible view manager, a powerful validation engine, and more! Calyxo is entirely written in Java and builds on the latest Servlet and JSP...
Platforms: *nix
License: Freeware | Size: 2.3 MB | Download (96): Calyxo Web Application Framework Download |
Class::Meta::Declare is a Perl module deprecated in favor of Class::Meta::Express. SYNOPSIS This was a first attempt at making a saner interface for Class::Meta. It is nicer, but Class::Meta::Express is nicer still. Go use that one. package MyApp::Thingy; use Class::Meta::Declare :all;...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (88): Class::Meta::Declare Download |
Class::InsideOut is a Perl module with a safe, simple inside-out object construction kit. SYNOPSIS package My::Class; use Class::InsideOut qw( public private register id ); public name => my %name; # accessor: name() private age => my %age; # no accessor sub new { register( shift ) }...
Platforms: *nix
License: Freeware | Size: 48.13 KB | Download (88): Class::InsideOut Download |
Class::DBI::FormBuilder is a Perl module with Class::DBI/CGI::FormBuilder integration. SYNOPSIS package Film; use strict; use warnings; use base Class::DBI; use Class::DBI::FormBuilder; # for indented output: # use Class::DBI::FormBuilder PrettyPrint => ALL; # POST all forms to...
Platforms: *nix
License: Freeware | Size: 46.08 KB | Download (89): Class::DBI::FormBuilder Download |
Class::Meta::Express is a Perl module for concise, expressive creation of Class::Meta classes. Synopsis package My::Contact; use Class::Meta::Express; class { meta contact => ( default_type => string ); has name; has contact => ( required => 1 ); } This module provides an interface...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (92): Class::Meta::Express Download |
Class::IntrospectionMethods is a Perl module that creates methods with introspection. SYNOPSIS use Class::IntrospectionMethods qw/make_methods/; make_methods ( parent, global_catalog => { name => metacat, list => [ [qw/foo/] => f_cat, [qw/bar baz/] => b_cat, ], } new_with_init...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (92): Class::IntrospectionMethods Download |
Bio::PrimarySeqI is a Perl Interface definition for a Bio::PrimarySeq. SYNOPSIS # Bio::PrimarySeqI is the interface class for sequences. # If you are a newcomer to bioperl, you should # start with Bio::Seq documentation. This # documentation is mainly for developers using # Bioperl. #...
Platforms: *nix
License: Freeware | Size: 4.7 MB | Download (92): Bio::PrimarySeqI Download |