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

methods-0.02.tar.gz

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

/methods-0.02/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) }

        # "1;" no longer r
more»

/methods-0.02/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) }

    # "1;" no longer required here

# DESCRIPTION

This modu
more»

/methods-0.02/Changes

[Changes for 0.02 - Sun Jun 19 18:00:41 CST 2011]

* Add auto-importing to true.pm as well.

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

* Initial release to CPAN.

Browse inside methods-0.02.tar.gz

         [DIR]methods-0.02/ (10)

Download methods-0.02.tar.gz

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