Leon Timmermans > PerlIO-buffersize-0.001 > PerlIO::buffersize

Download:
PerlIO-buffersize-0.001.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.001   Source  

NAME ^

PerlIO::buffersize - Set the buffersize of a handle

VERSION ^

version 0.001

SYNOPSIS ^

 open my $fh, '<:buffersize(65536)', $filename;

DESCRIPTION ^

This module sets the buffer-size of a filehandle to an other value than the default. This can only be done before the handle is used, as once the buffer has been allocated it can not be changed.

SYNTAX ^

This modules does not have to be loaded explicitly, it will be loaded automatically by using it in an open mode. The module has the following general syntax: :buffersize(size). The size can be any positive integer.

AUTHOR ^

Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: