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

selfvars-0.21.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:selfvars-0.21.tar.gz

/selfvars-0.21/README

NAME
    selfvars - Provide $self, @args, %opts and %hopts variables for OO
    programs

SYNOPSIS
        package MyClass;

        ### Import $self, @args, %opts and %hopts into your package:
        use selfvars;

        ### Or name the variables explicitly:
        # use selfvars -self => 'self', -args => 'args', -opts => 'opts', -hopts => 'hopts';

        ### Write the constructor as usual:
more»

/selfvars-0.21/Changes

[Changes for 0.21 - 2010-11-29]

* Improved POD for %hopts; no functional changes.

* Trying to mutate %hopts now fails with this error message:
    "Modification of a read-only %hopts attempted"
  which was erroneously listed as "%args" in 0.20.

[Changes for 0.20 - 2010-11-23]

* Added %hopts for ($self, key => value) styled calls:

    package Foo;
    use selfvars;
    sub meth {
        $self
more»

Browse inside selfvars-0.21.tar.gz

         [DIR]selfvars-0.21/ (9)

Download selfvars-0.21.tar.gz

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