perl-Class-Easy - make class routine easy

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Class-Easy-0.18-alt5.1.i586.rpm
Package name perl-Class-Easy
Package version 0.18
Package release alt5.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 41.98 KB
Installed size 41.98 KB
_# automatic loading of strict, warnings and utf8, like common::sense
_use Class::Easy::Import;
_# or same as above + functions like 'has', 'try_to_use', 'timer' and 'logger'
_use Class::Easy;
_# try to load package IO::Easy, return 1 when success
_try_to_use ('IO::Easy');
_# try to load package IO::Easy, but search for package existence
_# within %%INC instead of symbolic table
_try_to_use_inc ('IO::Easy');
_# for current package
_has "property_ro"; # make readonly object accessor
_has "property_rw", is => 'rw'; # make readwrite object accessor
_has global25 => 25; # make readonly static accessor with value 25
_has "global", global => 1, is => 'rw'; # make readwrite static accessor
_# make subroutine in package main
_make_accessor ('main', 'initialize', default => sub {
__$::initialized = 1;
__return "initialized!";
_# see documentation for Class::Easy::Log
_# string "[PID] [PACKAGE(STRING)] [DBG] something" logged
_debug "something";
_# see documentation for Class::Easy::Timer
_my $t = timer ('long operation');
_# .eI long operation
_my $time = $t->lap ('another long op');
_# .eI
_$time = $t->end;
_# $time contains time between last 'lap' or 'timer'
_# and 'end' call
_$time = $t->total;
_# now $time contains total time between timer init
_# and end call


Package Version Architecture Repository
perl-Class-Easy-0.18-alt5.1.x86_64.rpm 0.18 x86_64 Autoimports
perl-Class-Easy - - -


Name Value
/usr/lib/perl5 - - - - -
perl( -
perl(File/ -
perl(Time/ -
perl( -
perl( -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -


Name Value
perl(Class/ = 0.180
perl(Class/Easy/ -
perl(Class/Easy/ -
perl(Class/Easy/ -
perl(Class/Easy/Log/ -
perl(Class/Easy/ -
perl(Class/Easy/ -
perl(Class/Easy/ -
perl-Class-Easy = 0.18-alt5.1


Type URL
Binary Package perl-Class-Easy-0.18-alt5.1.i586.rpm
Source Package perl-Class-Easy-0.18-alt5.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] i586 autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Class-Easy rpm package:
    # sudo apt-get install perl-Class-Easy



See Also

Package Description
perl-Class-MethodCache-0.05-alt4.1.i586.rpm perl module Class-MethodCache
perl-Class-Private-0.05-alt4.1.i586.rpm Private hashes for your objects
perl-Class-Std-Fast_XS-0.3-alt4.1.i586.rpm speed up Class::Std::Fast by adding some XS code
perl-Class-XSConstructor-0.009-alt1.1.i586.rpm a super-fast (but limited) constructor in XS
perl-Classic-Perl-0.07-alt1.1.i586.rpm Selectively reinstate deleted Perl features
perl-Clone-AsUTF8Bytes-0.34-alt4.1.i586.rpm recursively copy Perl data converting to UTF-8 bytes
perl-Clone-Fast-0.97-alt2_15.i586.rpm Natively copying Perl data structures
perl-Clownfish-0.6.3-alt1.1.i586.rpm Apache Clownfish Runtime
perl-Clownfish-CFC-0.6.3-alt1.1.i586.rpm CFC Apache Clownfish compiler
perl-Code-Class-C-0.08-alt4.1.i586.rpm Perl extension for creating ANSI C code from a set
perl-Code-DRY-0.10-alt1.i586.rpm Cut-and-Paste-Detector for Perl code
perl-Code-DRY-scripts-0.10-alt1.i586.rpm Code-DRY scripts
perl-Collision-2D-0.07-alt4.2.i586.rpm Continuous 2d collision detection
perl-Colon-Config-0.003-alt1.1.i586.rpm XS helper to read a configuration file using ':' as separator
perl-Combine-Keys-0.09-alt2.1.i586.rpm keys on multiple hash references!