Graph Class
PostScript::Graph::Bar Perl module can draw a bar chart on a postscript file. SYNOPSIS Simplest Take labels and values from a csv file and output as a bar chart on a postscript file. use PostScript::Graph::Bar; my $bar = new PostScript::Graph::Bar(); $bar->build_chart("survey.csv");...
Platforms: *nix
License: Freeware | Size: 55.3 KB | Download (121): PostScript::Graph::Bar Download |
Class::Observable is a Perl module that allows other classes and objects to respond to events in yours. SYNOPSIS # Define an observable class package My::Object; use base qw( Class::Observable ); # Tell all classes/objects observing this object that a state-change # has occurred sub...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (102): Class::Observable Download |
Exception::Class::TryCatch is a syntactic try/catch sugar for use with Exception::Class. SYNOPSIS use Exception::Class::TryCatch; # simple usage of catch() eval { Exception::Class::Base->throw(error) }; catch my $err and warn $err->error; # catching only certain types or else...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (88): Exception::Class::TryCatch Download |
Class::MakeMethods::Docs::ToDo is a Perl module with ideas, problems, and suggestions. SYNOPSIS There are lots of things that could be done to improve this module. DISTRIBUTION ISSUES Issues about the distribution and supporting files, rather than the code: Documentation Make sure that...
Platforms: *nix
License: Freeware | Size: 153.6 KB | Download (88): Class::MakeMethods::Docs::ToDo Download |
class.upload.php manipulates uploads and images very easily. It can convert and resize uploaded images in many ways. It uses the GD library. How does it work? - the class constructor upload handles a uploaded file (it can also handle a local file) some optional parameters can be set up to...
Platforms: *nix
License: Freeware | Size: 43.01 KB | Download (98): class.upload.php Download |
Class::CGI is a Perl module to fetch objects from your CGI object. SYNOPSIS use Class::CGI handlers => { customer_id => My::Customer::Handler }; my $cgi = Class::CGI->new; my $customer = $cgi->param(customer_id); my $name = $customer->name; my $email = $cgi->param(email); # behaves...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (95): Class::CGI 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::Contract - Design-by-Contract OO in Perl. SYNOPSIS package ClassName use Class::Contract; contract { inherits BaseClass; invar { ... }; attr data1; attr data2 => HASH; class attr shared => SCALAR; ctor new; method methodname; pre { ... }; failmsg Error message; post...
Platforms: *nix
License: Freeware | Size: 26.62 KB | Download (108): Class::Contract Download |
Class::Delegation is a Perl object-oriented delegation. SYNOPSIS package Car; use Class::Delegation send => steer, to => ["left_front_wheel", "right_front_wheel"], send => drive, to => ["right_rear_wheel", "left_rear_wheel"], as => ["rotate_clockwise", "rotate_anticlockwise"] send...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (87): Class::Delegation Download |
Class::Std is a Perl module to support for creating standard "inside-out" classes. SYNOPSIS package MyClass; use Class::Std; # Create storage for object attributes... my %name : ATTR; my %rank : ATTR; my %snum : ATTR; my %public_data : ATTR; # Handle initialization of objects of...
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (93): Class::Std Download |
Class::Std::Utils is a Perl module for utility subroutines for building "inside-out" objects. SYNOPSIS use Class::Std::Utils; # Constructor for anonymous scalars... my $new_object = bless anon_scalar(), $class; # Convert an object reference into a unique ID number... my $ID_num = ident...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (87): Class::Std::Utils Download |
Class::DBI::DataMigration::Mapping is an abstract parent class for objects that map a single column in a single row from the source database to the target database. Synopsis use Class::DBI::DataMigration::Mapping; # ... Later, when building $mappings hashref for use by a #...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (97): Class::DBI::DataMigration::Mapping Download |
Exception::Class is a Perl module that allows you to declare real exception classes in Perl. SYNOPSIS use Exception::Class ( MyException, AnotherException => { isa => MyException }, YetAnotherException => { isa => AnotherException, description => These exceptions are related to IPC },...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (91): Exception::Class Download |
Class::InsideOut::Manual::About is a guide to this and other implementations of the inside-out technique. This manual provides an overview of the inside-out technique and its application within Class::InsideOut and other modules. It also provides a list of references for further study....
Platforms: *nix
License: Freeware | Size: 48.13 KB | Download (109): Class::InsideOut::Manual::About 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 (87): 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 (88): Class::DBI::FormBuilder Download |
Boost::Graph is a Perl interface to the Boost-Graph C++ libraries. SYNOPSIS use Boost::Graph; # Create an empty instance of a Graph my $graph = new Boost::Graph(directed=>0, net_name=>Graph Name, net_id=>1000); # add edges $graph->add_edge(node1=>a, node2=>b, weight=>1.1, edge=>edge...
Platforms: *nix
License: Freeware | Size: 2.4 MB | Download (187): Boost::Graph 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::Meta is a Perl class automation, introspection, and data validation. SYNOPSIS Generate a class: package MyApp::Thingy; use strict; use Class::Meta; use Class::Meta::Types::String; use Class::Meta::Types::Numeric; BEGIN { # Create a Class::Meta object for this class. my $cm =...
Platforms: *nix
License: Freeware | Size: 61.44 KB | Download (90): Class::Meta Download |
Class::Meta::Type is a Perl module for data type validation and accessor building. SYNOPSIS package MyApp::TypeDef; use strict; use Class::Meta::Type; use IO::Socket; my $type = Class::Meta::Type->add( key => io_socket, desc => IO::Socket object, name => IO::Socket Object ); This...
Platforms: *nix
License: Freeware | Size: 61.44 KB | Download (93): Class::Meta::Type Download |