SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from Fedora 28 perl-Class-MakeMethods-1.009-11.fc28.noarch.rpm

MakeMethods::Emulator::mcoder

Section: User Contributed Perl Documentation (3)
Updated: 2003-09-25
Index 

NAME

Class::MakeMethods::Emulator::mcoder - Emulate the mcoder module 

SYNOPSIS

  package MyClass;  use Class::MakeMethods::Emulator::mcoder            [qw(get set)] => [qw(color sound height)],            proxy => [qw(runner run walk stop)],            calculated => weight;  sub _calculate_weight { shift->ask_weight }
 

DESCRIPTION

This module emulates the functionality of the mcoder module, usingClass::MakeMethods to generate similar methods.

For example, the following lines are equivalent:

  use mcoder 'get' => 'foo';  use mcoder::get 'foo';  use Class::MakeMethods::Template::Hash 'scalar --get' => 'foo';

You may use this module directly, as shown in the SYNOPSIS above,or you may call "use Class::MakeMethods::Emulator::mcoder'-take_namespace';" to alias the mcoder namespace to this package,and subsequent calls to the original package will be transparentlyhandled by this emulator. To remove the emulation aliasing, call"use Class::MakeMethods::Emulator::mcoder '-release_namespace'".The same mechanism is also available for the ``sugar'' subclasses.

Caution: This affects all subsequent uses of the mcoder module inyour program, including those in other modules, and might causeunexpected effects. 

SEE ALSO

See Class::MakeMethods for general information about this distribution.

See Class::MakeMethods::Emulator for more about this family of subclasses.

See `` mcoder'' for documentation of the original module. 

POD ERRORS

Hey! The above document had some coding errors, which are explained below:
Around line 114:
L<> starts or ends with whitespace


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
POD ERRORS

This document was created byman2html,using the manual pages.