Filewatcher File Search File Search
Catalog
Content Search
» » » » »

methods-0.01.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:methods-0.01.tar.gz

/methods-0.01/README

NAME
    methods - Provide method syntax and autoclean namespaces

SYNOPSIS
        use methods;

        # with signature
        method foo($bar, %opts) {
           $self->bar(reverse $bar) if $opts{rev};
        }

        # attributes
        method foo : lvalue { $self->{foo} }

        # change invocant name
        method foo ($class: $bar) { $class->bar($bar) }

DESCRIPTION
    This modul
more»

/methods-0.01/README.mkdn

# NAME

methods - Provide method syntax and autoclean namespaces

# SYNOPSIS

    use methods;

    # with signature
    method foo($bar, %opts) {
       $self->bar(reverse $bar) if $opts{rev};
    }

    # attributes
    method foo : lvalue { $self->{foo} }

    # change invocant name
    method foo ($class: $bar) { $class->bar($bar) }

# DESCRIPTION

This module uses [Method::Signatures::Simple]
more»

/methods-0.01/Changes

[Changes for 0.01 - Sat Jun 18 16:53:50 PDT 2011]

* Initial release to CPAN.

Browse inside methods-0.01.tar.gz

         [DIR]methods-0.01/ (10)

Download methods-0.01.tar.gz

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com