Datetime Class
DateTime::Format::Epoch::RJD is a Perl module that can convert DateTimes to/from Reduced Julian Days. SYNOPSIS use DateTime::Format::Epoch::RJD; my $dt = DateTime::Format::Epoch::RJD->parse_datetime( 53244.5 ); # 2004-08-27T00:00:00 DateTime::Format::Epoch::RJD->format_datetime($dt); #...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (103): DateTime::Format::Epoch::RJD Download |
Access_user Class is an easy to use system for protecting pages and registering users. The main features are user login, user registration, page protection, forgotten password recovery, and email-based account activation. The class is powered by MySQL and PHP sessions. Inside the package are...
Platforms: *nix
License: Freeware | Size: 36.86 KB | Download (103): Access_user Class Download |
Class::ArrayObjects is a Perl utility class for array based objects. SYNOPSIS package Some::Class; use Class::ArrayObjects define => { fields => [qw(_foo_ _bar_ BAZ)], }; or package Other::Class; use base Some::Class; use Class::ArrayObjects extend => { class => Some::Class, with...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (103): Class::ArrayObjects 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 |
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 |
DateTime::Format::Epoch::MJD is a Perl module that can convert DateTimes to/from Modified Julian Days. SYNOPSIS use DateTime::Format::Epoch::MJD; my $dt = DateTime::Format::Epoch::MJD->parse_datetime( 53244 ); # 2004-08-27T00:00:00 DateTime::Format::Epoch::MJD->format_datetime($dt); #...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (102): DateTime::Format::Epoch::MJD 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 |
Data::Faker::DateTime is a Data::Faker plugin. DATA PROVIDERS unixtime Return a unix time (seconds since the epoch) for a random time between the epoch and now. date Return a random date as a string, using a random date format (see date_format). time Return a random time as a...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (101): Data::Faker::DateTime Download |
Rose::Class::MakeMethods::Set is a Perl module to create class methods to manage sets. SYNOPSIS package MyClass; use Rose::Class::MakeMethods::Set ( inheritable_set => [ required_name => { add_implies => add_valid_name, test_method => name_is_required, }, ], inherited_set => [...
Platforms: *nix
License: Freeware | Size: 28.67 KB | Download (101): Rose::Class::MakeMethods::Set 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::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 |
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 |
DateTime::Event::Sunrise is a Perl DateTime extension for computing the sunrise/sunset on a given day. SYNOPSIS use DateTime; use DateTime::Event::Sunrise; my $dt = DateTime->new( year => 2000, month => 6, day => 20, ); my $sunrise = DateTime::Event::Sunrise ->sunrise ( longitude...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (101): DateTime::Event::Sunrise Download |
Persistent::Sybase is a persistent class implemented using a Sybase database. SYNOPSIS use Persistent::Sybase; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a persistent object ### my $emp = new...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (101): Persistent::Sybase Download |
ColumnMover is a REALbasic class that allows users to change the order of a listbox graphically, similiar to how a Mac OS X cocoa-based application (i.e. Mail.app) can.
Platforms: Mac
License: Demo | Cost: $0.00 USD | Size: 96 KB | Download (101): RealBasic ColumnMover 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 (100): DateTime::Format::Builder Download |
DateTime::Format::Epoch::DotNet is a Perl module that can convert DateTimes to/from .NET epoch seconds. SYNOPSIS use DateTime::Format::Epoch::DotNet; my $dt = DateTime::Format::Epoch::DotNet->parse_datetime( 1051488000 ); DateTime::Format::Epoch::DotNet->format_datetime($dt); #...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (100): DateTime::Format::Epoch::DotNet Download |
DateTime::Format::Epoch::MacOS is a Perl module that can convert DateTimes to/from Mac OS epoch seconds. SYNOPSIS use DateTime::Format::Epoch::MacOS; my $dt = DateTime::Format::Epoch::MacOS->parse_datetime( 1051488000 ); DateTime::Format::Epoch::MacOS->format_datetime($dt); # 1051488000...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (100): DateTime::Format::Epoch::MacOS Download |
DateTime::Format::Epoch::JD is Perl module Convert DateTimes to/from Julian Days. SYNOPSIS use DateTime::Format::Epoch::JD; my $dt = DateTime::Format::Epoch::JD->parse_datetime( 2453244.5 ); # 2004-08-27T00:00:00 DateTime::Format::Epoch::JD->format_datetime($dt); # 2453244.5 my...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (100): DateTime::Format::Epoch::JD 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 |