Class::Accessor::Fast(3) User Contributed Perl Documentation Class::Accessor::Fast(3)NAME
Class::Accessor::Fast - Faster, but less expandable, accessors
SYNOPSIS
package Foo;
use base qw(Class::Accessor::Fast);
# The rest is the same as Class::Accessor but without set() and get().
DESCRIPTION
This is a faster but less expandable version of Class::Accessor. Class::Accessor's generated accessors require two method calls to
accompish their task (one for the accessor, another for get() or set()). Class::Accessor::Fast eliminates calling set()/get() and does the
access itself, resulting in a somewhat faster accessor.
The downside is that you can't easily alter the behavior of your accessors, nor can your subclasses. Of course, should you need this
later, you can always swap out Class::Accessor::Fast for Class::Accessor.
Read the documentation for Class::Accessor for more info.
EFFICIENCY
"EFFICIENCY" in Class::Accessor for an efficiency comparison.
AUTHORS
Copyright 2007 Marty Pauley <marty+perl@kasei.com>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. That means either (a) the GNU
General Public License or (b) the Artistic License.
ORIGINAL AUTHOR
Michael G Schwern <schwern@pobox.com>
SEE ALSO
Class::Accessor
perl v5.12.1 2009-09-15 Class::Accessor::Fast(3)
Check Out this Related Man Page
Class::Accessor::Lvalue(3pm) User Contributed Perl Documentation Class::Accessor::Lvalue(3pm)NAME
Class::Accessor::Lvalue - create Lvalue accessors
SYNOPSIS
package Foo;
use base qw( Class::Accessor::Lvalue );
__PACKAGE__->mk_accessors(qw( bar ))
my $foo = Foo->new;
$foo->bar = 42;
print $foo->bar; # prints 42
DESCRIPTION
This module subclasses Class::Accessor in order to provide lvalue accessor makers.
CAVEATS
o Though Class::Accessor mutators allows for the setting of multiple values to an attribute, the mutators that this module creates handle
single scalar values only. This should not be too much of a hinderance as you can still explictly use an anonymous array.
o Due to the hoops we have to jump through to preserve the Class::Accessor ->get and ->set behaviour this module is potentially slow.
Should you not need the flexibility granted by the ->get and ->set methods, it's highly reccomended that you use Class::Acces-
sor::Lvalue::Fast which is simpler and much faster.
AUTHOR
Richard Clamp <richardc@unixbeard.net> with many thanks to Yuval Kogman for helping with the groovy lvalue tie magic used in the main
class.
COPYRIGHT
Copyright (C) 2003 Richard Clamp. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Class::Accessor, Class::Accessor::Lvalue::Fast
perl v5.8.8 2008-02-01 Class::Accessor::Lvalue(3pm)
I work for a school and just received a set of HP-UX machines. I did ok with the Vizualize workstations in that they had video cards and all, but I am attempting to set up the D Class (D250) servers that we received and they are terminal only. I have the terminals and keyboards for them, but am... (11 Replies)
I am trying to setup a Fast Connect Server on my AIX 5.3 box to create a shared directory for users. The problem I'm having is that I can map the shared directory onto a PC only if I specify the IP address of the AIX server. If I specify the DNS name of the AIX server, the map on the PC to the Fast... (4 Replies)
If you are like me, typing CD command again and again would quickly get tiresome and wonder there must be a better way to do it.
I have done some searching on Google and this forum. The results I get (using alias, CDPATH or PUSHD) do not satisfy me completely, so I decide to do it my way.... (10 Replies)
Hi All,
I am trying to export a file using Fast Export (Teradata) in UNIX. The desired output length is 550 bytes, but the output file is creating string till 75 characters. How to get the full length file?
.LOGON
.EXPORT file=export.txt;
SELECT CAST(('' ||
(CAST('UD ' AS CHAR(3))) || ... (2 Replies)
The data below consits of items with Class, Sub Class and Property values. I would like to find out same value being captured for different property values for a same Class/Sub Class combination (with in an Item & across items). Like 123 being captured for PAD1, PAD2, PAD4 for ABC-DEF, 456 captured... (4 Replies)