Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Class::Accessor::Chained 0.01

    Download button

    No screenshots available
    Downloads: 313  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Excellent (5.0/5)
    2 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Richard Clamp | More programs
    Perl Artistic License / FREE
    December 7th, 2007, 11:37 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Class::Accessor::Chained description

    Class::Accessor::Chained is a Perl module to make chained accessors.

    Class::Accessor::Chained is a Perl module to make chained accessors.

    SYNOPSIS

    package Foo;
    use base qw( Class::Accessor::Chained );
    __PACKAGE__->mk_accessors(qw( foo bar baz ));

    my $foo = Foo->new->foo(1)->bar(2)->baz(4);
    print $foo->bar; # prints 2

    A chained accessor is one that always returns the object when called with parameters (to set), and the value of the field when called with no arguments.

    This module subclasses Class::Accessor in order to provide the same mk_accessors interface.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    chained accessors | Class::Accessor subclass | Perl module | chained | accessors | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM