Softpedia
 


LINUX CATEGORIES:



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

    Moose 2.0602

    Download button

    No screenshots available
    Downloads: 325  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Jesse Luehrs | More programs
    Perl Artistic License / FREE
    May 24th, 2012, 12:40 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Moose description

    A postmodern object system for Perl 5

    Moose is a postmodern object system for Perl 5.

    SYNOPSIS

     package Point;
     use Moose; # automatically turns on strict and warnings

     has 'x' => (is => 'rw', isa => 'Int');
     has 'y' => (is => 'rw', isa => 'Int');

     sub clear {
     my $self = shift;
     $self->x(0);
     $self->y(0);
     }

     package Point3D;
     use Moose;

     extends 'Point';

     has 'z' => (is => 'rw', isa => 'Int');

     after 'clear' => sub {
     my $self = shift;
     $self->z(0);
     };


    Moose is an extension of the Perl 5 object system.

    The main goal of Moose is to make Perl 5 Object Oriented programming easier, more consistent and less tedious. With Moose you can to think more about what you want to do and less about the mechanics of OOP.

    Additionally, Moose is built on top of Class::MOP, which is a metaclass system for Perl 5. This means that Moose not only makes building normal Perl 5 objects better, but it provides the power of metaclass programming as well.

    New to Moose?

    If you're new to Moose, the best place to start is the Moose::Intro docs, followed by the Moose::Cookbook. The intro will show you what Moose is, and how it makes Perl 5 OO better.

    The cookbook recipes on Moose basics will get you up to speed with many of Moose's features quickly. Once you have an idea of what Moose can do, you can use the API documentation to get more detail on features which interest you.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    postmodern object system | Perl module | Perl | postmodern | object

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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