- SEE ALSO
- COPYRIGHT AND LICENSE
XAS::Lib::Mixins::Bufops - A class for the XAS environment
use XAS::Class debug => 0, version => '0.01', base => 'XAS::Base', mixin => 'XAS::Lib::Mixins::Bufops', ; my $buffer = "this is a buffer", my $word = $self->buf_get_line(\$buffer, ' ');
This module performs some common operations on buffers.
This method returns a "line" from a buffer.
This method will extract a chunk from the buffer. The buffer will shrink by that amount.
Kevin L. Esteb, <firstname.lastname@example.org>
Copyright (C) 2014 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.