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.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Method::Signatures 20110923.1726

    Download button

    No screenshots available
    Downloads: 291  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Michael G Schwern | More programs
    Perl Artistic License / FREE
    December 2nd, 2011, 04:42 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Method::Signatures description

    Method declarations with signatures and no source filter

    Method::Signatures is a Perl module that offers method declarations with signatures and no source filter.

    SYNOPSIS

     package Foo;

     use Method::Signatures;

     method new (%args) {
     return bless {%args}, $self;
     }

     method get ($key) {
     return $self->{$key};
     }

     method set ($key, $val) {
     return $self->{$key} = $val;
     }


    This is ALPHA SOFTWARE which relies on YET MORE ALPHA SOFTWARE. Use at your own risk. Features may change.

    Provides a proper method keyword, like "sub" but specificly for making methods. It will automatically provide the invocant as $self. No more my $self = shift.

    Also allows signatures, very similar to Perl 6 signatures.

    And it does all this with no source filters.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    method declarations | method signatures | Perl module | Perl | method | declarations

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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