class::makemethods::emulator::mcoder(3pm) [debian man page]
MakeMethods::Emulator::mcoder(3pm) User Contributed Perl Documentation MakeMethods::Emulator::mcoder(3pm)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, using Class::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 transparently
handled 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 in your program, including those in other modules, and might cause
unexpected 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.
perl v5.10.1 2004-09-06 MakeMethods::Emulator::mcoder(3pm)
Check Out this Related Man Page
MakeMethods::Emulator::AccessorFast(3pm) User Contributed Perl Documentation MakeMethods::Emulator::AccessorFast(3pm)NAME
Class::MakeMethods::Emulator::AccessorFast - Emulate Class::Accessor::Fast
SYNOPSIS
package Foo;
use base qw(Class::MakeMethods::Emulator::AccessorFast);
Foo->mk_accessors(qw(this that whatever));
# Meanwhile, in a nearby piece of code!
# Emulator::AccessorFast provides new().
my $foo = Foo->new;
my $whatever = $foo->whatever; # gets $foo->{whatever}
$foo->this('likmi'); # sets $foo->{this} = 'likmi'
DESCRIPTION
This module emulates the functionality of Class::Accessor::Fast, using Class::MakeMethods to generate similar methods.
You may use it directly, as shown in the SYNOPSIS above,
Furthermore, you may call "use Class::MakeMethods::Emulator::AccessorFast '-take_namespace';" to alias the Class::Accessor::Fast namespace
to this package, and subsequent calls to the original package will be transparently handled by this emulator. To remove the emulation
aliasing, call "use Class::MakeMethods::Emulator::AccessorFast '-release_namespace'".
Caution: This affects all subsequent uses of Class::Accessor::Fast in your program, including those in other modules, and might cause
unexpected effects.
SEE ALSO
See Class::MakeMethods for general information about this distribution.
See Class::MakeMethods::Emulator for more about this family of subclasses.
See Class::Accessor::Fast for documentation of the original module.
perl v5.10.1 2004-09-06 MakeMethods::Emulator::AccessorFast(3pm)
Hi all:
I have windows XP and i want to learn UNIX SHELL PROGRAMMING! can you tell me any unix shell emulator or simulator which i can install on windows and learn unix shell programming (FOR SOME REASON I DONT WANT TO INSTALL LINUX)!!!
PLEASE HELP!
CHEERS (2 Replies)
Hello everyone,
I have just joined your forum even though I have been using it on and off for couple of months now. Up until now I have been able to find any information I needed by just browsing this site or performing a Google search, but now I'm stuck!. I was hoping you could help me with... (16 Replies)
Hi,
I installed unix emulator cygwin, it does not allow me to open vi editor.
Can anybody know if cygwin supports vi.
if not can somebody please refer a good emulator. (5 Replies)
Hi friends,
I am a UNIX lover. I have tried several unix flavors including linux, solaris(x86) and FreeBSD, all these are the unices which can be installed on x86 hardware. Now to use the IBM AIX, I searched and googled alot, finally I came across QEME, which emulates the PowerPC platorm to turn... (9 Replies)