- Timestamp:
- 2021-02-26T19:39:51+13:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/cpan/File/RandomAccess.pod
r24107 r34921 4 4 # Description: Buffer to support random access reading of sequential file 5 5 # 6 # Legal: Copyright (c) 2003-20 10 Phil Harvey (phil at owl.phy.queensu.ca)6 # Legal: Copyright (c) 2003-2021 Phil Harvey (philharvey66 at gmail.com) 7 7 # This library is free software; you can redistribute it and/or 8 8 # modify it under the same terms as Perl itself. … … 48 48 =item Inputs: 49 49 50 0) Reference to RandomAccess object .50 0) Reference to RandomAccess object or RandomAccess class name. 51 51 52 52 1) File reference or scalar reference. 53 53 54 2) flag set if file is already random access (disables automatic SeekTest).54 2) Flag set if file is already random access (disables automatic SeekTest). 55 55 56 56 =item Returns: … … 216 216 =back 217 217 218 =head1 OPTIONS 219 220 =over 4 221 222 =item B<NoBuffer> 223 224 Avoid buffering sequential files. 225 226 $raf->{NoBuffer} = 1; 227 228 When this option is set, old data is purged from the internal buffer before 229 a read operation on a sequential file. In this mode, memory requirements 230 may be significantly reduced when reading sequential files, but seeking 231 backward is limited to within the size of the internal buffer (which will be 232 at least as large as the last returned data block), and seeking relative to 233 the end of file is not allowed. 234 235 =back 236 218 237 =head1 AUTHOR 219 238 220 Copyright 2003-20 11 Phil Harvey (phil at owl.phy.queensu.ca)239 Copyright 2003-2021 Phil Harvey (philharvey66 at gmail.com) 221 240 222 241 This library is free software; you can redistribute it and/or modify it
Note:
See TracChangeset
for help on using the changeset viewer.