Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Object::groups 2.21

    Download button

    No screenshots available
    Downloads: 369  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.7/5)
    12 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Domizio Demichelis | More programs
    Perl Artistic License / FREE
    April 5th, 2008, 13:59 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Object::groups description

    Object::groups is a pragma to implement group of properties.

    Object::groups is a pragma to implement group of properties.

    This pragma is very similar to the Class::groups pragma: the main difference is the underlying variable that holds the value, which is a global hash in the caller package instead in the class. For example:

    package BaseClass;
    use Package::groups 'a_package_group';
    use Class::groups 'a_class_group';

    package SubClass;
    our @ISA = 'BaseClass';

    # underlaying hash for accessor 'a_package_group' is
    # ºseClass::a_package_group
    # underlaying hash for accessor 'a_class_group' is
    # %SubClass::a_class_group;

    This might seem a subtle difference, but the possible usage in inherited classes makes a big difference.

    While you can also call a package group accessor by statically using the implementing package name (e.g. BaseClass-a_group>), regardless the subclass that uses it, overridden package accessor groups don't inherit defaults as Class accessors do.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    group of properties | object groups | Perl module | object | group | properties

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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