Buffer::Transactional::Buffer - A role to represent a buffer
This is a role to represent our buffer types.
This method is required, it is used to add elements to the buffer.
This method is required, it is used to collapse a buffer into a string.
This method has a minimal implementation which simply puts the results of calling to_string on the $buffer arg into the local buffer. Feel free to override this if it is not appropriate, see Buffer::Transactional::Buffer::Lazy for an example of this.
to_string
$buffer
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
Stevan Little <stevan.little@iinteractive.com>
Copyright 2009, 2010 Infinity Interactive, Inc.
http://www.iinteractive.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Buffer::Transactional, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Buffer::Transactional
CPAN shell
perl -MCPAN -e shell install Buffer::Transactional
For more information on module installation, please visit the detailed CPAN module installation guide.