Time Class
Unix time, or POSIX time at 03:14:08 UTC on January 19, 2038 represented on 32bit integer will overflow.
For people who now, write future callendar apps, this is date/time class thet not nave overflow problem
Platforms: Windows, Mac, Linux
License: Freeware | Size: 8.18 KB | Download (46): LS NoLimited date/time class Download |
PHPBEAT is a small PHP class that lets developers add a beat time with date to their homepage. Swatch Internet Time, .beat, is a new time zone independent time format. There are 1000 beats for every 24 hours.
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (67): PHPBEAT Download |
PerlIO::via::Logger is a PerlIO layer for prefixing current time to log output. SYNOPSIS use PerlIO::via::Logger; PerlIO::via::Logger->format( [%b %d, %Y %r] ); use PerlIO::via::Logger format => [%b %d, %Y %r] ; open( my $in,<:via(Logger),filein ) or die "Cant open file.ln for reading:...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (105): PerlIO::via::Logger Download |
A simple counter that counts how much time remains/passed from a spcified date and time. The class was inspired by a joomla pugin called util_counter, which can be found here
Platforms: JavaScript
License: Freeware | Size: 10 KB | Download (47): SimpleCounter Download |
SimpleDaemon is a fork of Shane Hathaway's daemon.py script. Example Writing a daemon requires creating two files, a daemon file and a configuration file with the same name. hellodaemon.py: import simpledaemon import logging import time class HelloDaemon(simpledaemon.Daemon): default_conf =...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (38): SimpleDaemon Download |
JIT is a class for Just In Time instantiation of objects. Init is called only when the first attribute is either get or set. Then automatic delegation is used to front for the object.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Just in time instantiation Download |
Class::Adapter is a Perl implementation of the "Adapter" Design Pattern. The Class::Adapter class is intended as an abstract base class for creating any sort of class or object that follows the Adapter pattern. What is an Adapter? The term Adapter refers to a "Design Pattern" of the same...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (102): Class::Adapter Download |
DBIx::Class::LibXMLdoc is a Perl module to create an adjunct "Doc" accessor of a columns data which is automatically parsed into a LibXML documentElement (alpha-software). SYNOPSIS package My::DB::thingy; __PACKAGE__->load_components(qw/ PK::Auto LibXMLdoc Core /);...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (95): DBIx::Class::LibXMLdoc 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 |
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 |
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::IntrospectionMethods::Catalog can manage catalogs from IntrospectionMethods. Exported functions set_method_info( target_class, method_name, info_ref ) Store construction info for method method_name of class target_class. set_global_catalog (target_class, ...) Store catalog...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (94): Class::IntrospectionMethods::Catalog Download |
Class::HPLOO is an easier way to declare classes on Perl, based in the popular class {...} style and ePod. USAGE use Class::HPLOO ; class Foo extends Bar , Baz { use LWP::Simple qw(get) ; ## import the method get() to this package. attr ( array foo_list , int age , string name , foo )...
Platforms: *nix
License: Freeware | Size: 27.65 KB | Download (99): Class::HPLOO Download |
Class::Agreement is a Perl module that add contracts to your Perl classes easily. SYNOPSIS package SomeClass; use Class::Agreement; # use base Class::Accessor or Class::MethodMaker, # or roll your own: sub new { ... } invariant { my ($self) = @_; $self->count > 0; }; precondition...
Platforms: *nix
License: Freeware | Size: 27.65 KB | Download (96): Class::Agreement Download |
IAM OPML Parser Class parses an OPML file (provided its URL) and returns an array. OPML (Outline Processor Markup Language) is an XML format for outlines. Originally developed by Radio UserLand as a native file format for an outliner application, it has since been adopted for other uses, the...
Platforms: *nix
License: Freeware | Size: 2.05 KB | Download (106): IAM OPML Parser Class Download |
Class::Multimethods::Pure is a Perl module that contains a method-ordered multimethod dispatch. SYNOPSIS use Class::Multimethods::Pure; package A; sub magic { rand() > 0.5 } package B; use base A; package C; use base A; BEGIN { multi foo => (A, A) => sub { "Generic catch-all"; };...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (93): Class::Multimethods::Pure 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 |
Class::DBI::Query is a Perl module with deprecated SQL manager for Class::DBI. SYNOPSIS my $sth = Class::DBI::Query ->new({ owner => $class, sqlname => $type, essential => @columns, where_columns => @where_cols, }) ->run($val); This abstracts away many of the details of the...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (93): Class::DBI::Query 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 |