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

perl-accessors

Create accessor methods in caller's package

The accessors pragma lets you create simple accessors at compile-time.

This saves you from writing them by hand, which tends to result in *cut-n-paste* errors and a mess of duplicated code. It can also help you reduce the ammount of unwanted *direct-variable access* that may creep into your codebase when you're feeling lazy. accessors was designed with laziness in mind.

Homepage:
Package version:1.01
Architecture:noarch
Distribution:RPMForge
Filename:perl-accessors-1.01-1.el5.rf.noarch.rpm

/usr/share/doc/perl-accessors-1.01/README

NAME
    accessors - create accessor methods in caller's package.

SYNOPSIS
      package Foo;
      use accessors qw( foo bar baz );

      my $obj = bless {}, 'Foo';

      # generates chaining accessors
      # that you can set like this:
      $obj->foo( 'hello ' )
          ->bar( 'world' )
          ->baz( "!\n" );

      # you get the values by passing no params:
      print $obj->foo, $obj
more»

/usr/share/man/man3/accessors.3pm.gz

accessors(3)     User Contributed Perl Documentation    accessors(3)



NAME
       accessors - create accessor methods in caller's package.

SYNOPSIS
         package Foo;
         use accessors qw( foo bar baz );

         my $obj = bless {}, 'Foo';

         # generates chaining accessors
         # that you can set like this:
         $obj->foo( 'hello ' )
             ->bar( 'world' )
       
more»

/usr/share/man/man3/accessors::chained.3pm.gz

accessors::chaineUser Contributed Perl Documentaccessors::chained(3)



NAME
       accessors::chained - create method chaining accessors in
       caller's package.

SYNOPSIS
         package Foo;
         use accessors::chained qw( foo bar baz );

         my $obj = bless {}, 'Foo';

         # generates chaining accessors:
         $obj->foo( 'hello ' )
             ->bar( 'world' )
           
more»

/usr/share/man/man3/accessors::classic.3pm.gz

accessors::classiUser Contributed Perl Documentaccessors::classic(3)



NAME
       accessors::class
more»

/usr/share/man/man3/accessors::ro.3pm.gz

accessors::ro(3) User Contributed Perl Documentationaccessors::ro(3)



NAME
       accessors::ro - 
more»

/usr/share/man/man3/accessors::rw.3pm.gz

accessors::rw(3) User Contributed Perl Documentationaccessors::rw(3)



NAME
       accessors::rw - 
more»

/usr/share/doc/perl-accessors-1.01/Changes

Revision history for 'accessors' Perl pragma
--------------------------------------------

All chang
more»

/usr/share/doc/perl-accessors-1.01/TODO

=====================
 accessors Todo List
=====================

consider adding get/set style acce
more»

Browse inside perl-accessors-1.01-1.el5.rf.noarch.rpm

1.00 KB2014-11-29HEADER  view  206+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-accessors-1.01-1.el5.rf.noarch.rpm

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