ollyg / class-accessor-fast-contained Goto Github PK
View Code? Open in Web Editor NEWDevelopment of Class::Accessor::Fast::Contained Perl distribution
Home Page: http://search.cpan.org/dist/Class-Accessor-Fast-Contained/
Development of Class::Accessor::Fast::Contained Perl distribution
Home Page: http://search.cpan.org/dist/Class-Accessor-Fast-Contained/
NAME Class::Accessor::Fast::Contained - Fast accessors with data containment VERSION This document refers to version 1.01 of Class::Accessor::Fast::Contained SYNOPSIS package Foo; use base qw(Class::Accessor::Fast::Contained); # The rest is the same as Class::Accessor::Fast DESCRIPTION This module does two things differently to the venerable Class::Accessor::Fast : * Fields are stored at arms-length within a single hash value of $self, rather than directly in the $self blessed referent. * "new()" allows mixin into an existing object, rather than creating and returning a new blessed hashref. To do this, just call something like: my $self = Some::Other::Class->new; $self = $self->Class::Accessor::Fast::Contained::new; Note that the mixin code only supports objects which use a blessed hash reference or a blessed typeglob reference. An alias "setup()" is available which does the same as "new()" but might make more sense if being used in this way. DEPENDENCIES Other than the standard Perl distribution, you will need the following: * Class::Accessor BUGS If you spot a bug or are experiencing difficulties that are not explained within the documentation, please send an email to [email protected] or submit a bug to the RT system (http://rt.cpan.org/). It would help greatly if you are able to pinpoint problems or even supply a patch. SEE ALSO Class::Accessor AUTHOR Oliver Gorwits "<[email protected]>" ACKNOWLEDGEMENTS Thanks to Marty Pauly and Michael G Schwern for Class::Accessor and its tests, which I've shamelessly borrowed for this distribution. COPYRIGHT & LICENSE Copyright (c) The University of Oxford 2008. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.