1PerlIO::buffersize(3) User Contributed Perl DocumentationPerlIO::buffersize(3)
2
3
4
6 PerlIO::buffersize - Set the buffersize of a handle
7
9 version 0.002
10
12 open my $fh, '<:buffersize(65536)', $filename;
13
15 This module sets the buffer-size of a filehandle to an other value than
16 the default. This can only be done before the handle is used, as once
17 the buffer has been allocated it can not be changed.
18
20 This modules does not have to be loaded explicitly, it will be loaded
21 automatically by using it in an open mode. The module has the
22 following general syntax: ":buffersize(size)". The size can be any
23 positive integer.
24
26 Leon Timmermans <leont@cpan.org>
27
29 This software is copyright (c) 2012 by Leon Timmermans.
30
31 This is free software; you can redistribute it and/or modify it under
32 the same terms as the Perl 5 programming language system itself.
33
34
35
36perl v5.36.0 2022-07-22 PerlIO::buffersize(3)