Datetime Class
Class::Struct::FIELDS module combine Class::Struct, base and fields. SYNOPSIS (This page documents Class::Struct::FIELDS v.1.1.) use Class::Struct::FIELDS; # declare struct, based on fields, explicit class name: struct (CLASS_NAME => { ELEMENT_NAME => ELEMENT_TYPE, ... }); use...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (92): Class::Struct::FIELDS Download |
Class::ParmList is a Perl module with methods for processing named parameter lists. SYNOPSIS use Class::ParmList qw(simple_parms parse_parms); $thingy->some_method({ -bgcolor => #ff0000, -textcolor => #000000 }); sub some_method { my ($self) = shift; my ($parm_ref) = @_; my $parms...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (89): Class::ParmList Download |
DateTime::Precise can perform common time and date operations with additional GPS operations. SYNOPSIS use DateTime::Precise; use DateTime::Precise qw(:TimeVars); # Constructors and ways to set time. $t1 = DateTime::Precise->new; $t2 = DateTime::Precise->new(1998. 4. 3 12:13:44.054);...
Platforms: *nix
License: Freeware | Size: 34.82 KB | Download (89): DateTime::Precise Download |
DBIx::Class::Schema::Loader::RelBuilder is a Perl module that builds relationships for DBIx::Class::Schema::Loader. This class builds relationships for DBIx::Class::Schema::Loader. This is module is not (yet) for external use. METHODS new Arguments: schema_class (scalar), fk_info...
Platforms: *nix
License: Freeware | Size: 32.77 KB | Download (89): DBIx::Class::Schema::Loader::RelBuilder Download |
DateTime::Cron::Simple is a Perl module that can parse a cron entry and check against current time. SYNOPSIS use DateTime::Cron::Simple; $c = DateTime::Cron::Simple->new($cron); $boolean = $c->validate_time; $c->new_cron($cron); This module is a quick and dirty way to determine if a...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (93): DateTime::Cron::Simple Download |
Class.Jabber.PHP provides a medium-level API to interact with the Jabber network. Class.Jabber.PHP is a class which you can use to connect to the Jabber network. It allows you to easily connect to a server and interact with it. It supports all packet types (message, iq, and presence), is very...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (144): Class.Jabber.PHP Download |
Xfce 4 Datetime Plugin shows the date and time in the panel, and a calendar appears when you left-click on it. You can also have a look at ‘orage’, which is a bit more advanced calender. Usage: - Compile and install the datetime package - Right-click the Xfce panel > Add New Item >...
Platforms: *nix
License: Freeware | Size: 368.64 KB | Download (98): Xfce 4 Datetime Plugin 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 (114): 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 |
DateTime::Format::Builder is a Perl module to create datetime parser classes and objects. SYNOPSIS package DateTime::Format::Brief; our $VERSION = 0.07; use DateTime::Format::Builder ( parsers => { parse_datetime => [ { regex => qr/^(d{4})(dd)(dd)(dd)(dd)(dd)$/, params => [qw( year...
Platforms: *nix
License: Freeware | Size: 48.13 KB | Download (94): DateTime::Format::Builder Download |